-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix: Babel transpiler fixes #205
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment, otherwise this looks good to me! (but I have no authority here 🙃)
This would also fix #215, which I just ran into...
@wessberg could you please look into this? The issues getting solved by this (three of them!) would become significant blockers for continuing to use this plugin for "us" (Ember.js ecosystem). Thank you! 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work! I've left a few comments.
LGTM. Thanks a lot for your contribution. |
A few fixes for when using Babel as transpiler.
Babel andbrowserslist: false
Remove all Babel transformation plugins when usingbrowserslist: false
as documentedFixes #189@babel/plugin-syntax-dynamic-import
resolutionResolving
@babel/plugin-syntax-dynamic-import
directly is unsound since it is neither a dependency nor a peer dependency. pnpm is supposed to forbid this but don't know why it didn't. Resolve it from@babel/present-env
Fixes #185
@babel/*
peers@babel/*
packages didn't exist until Babel 7. Remove extraneous>=6.x
from peer version ranges.