Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue with skipping over self & source generated by another instance #12495

Merged
merged 1 commit into from Dec 12, 2020

Conversation

Andarist
Copy link
Member

@Andarist Andarist commented Dec 12, 2020

Fixes the issue reported here #12253 (comment) and here emotion-js/emotion#2173

Basically the issue is that its fairly easy to add the same plugin with different options through presets and in this case the React preset has been adding those props but thr Emotion preset has started skipping over them because it was not configured with a development flag - this was a behavioral change after switching to the -experimental builder completely

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 12, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6a59e4c:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@nicolo-ribaudo
Copy link
Member

Can you add a test? Maybe with manually written __self/__source in the input.

@Andarist Andarist force-pushed the fix/skipping-over-jsx-self-source branch from cebf9d4 to 6a59e4c Compare December 12, 2020 11:56
@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/35062/

@Andarist
Copy link
Member Author

Oh, ive added it - just havent pushed out. git commit -am has fooled me... again. Fixed it now though

@nicolo-ribaudo nicolo-ribaudo added PR: Bug Fix 🐛 A type of pull request used for our changelog categories i: regression area: jsx labels Dec 12, 2020
@nicolo-ribaudo nicolo-ribaudo merged commit 01ab1e3 into main Dec 12, 2020
@nicolo-ribaudo nicolo-ribaudo deleted the fix/skipping-over-jsx-self-source branch December 12, 2020 16:39
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Mar 14, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: jsx i: regression outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix 🐛 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants