-
-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Babel 7 Umbrella #2391
Comments
We'll want to import |
Which features would depend on them? I just want to externalize helpers without bringing the whole core-js with them. |
|
To clarify, I made the suggestion to make the development experience nicer; not that we need it. |
Hmm, that's not the part of The thing I'm interested in is deduplicating Babel helpers like |
This works in Babel 7 from what I was told. As does many other really obscure cases:
I haven't actually tested this myself, but it would be sweet if it did. Unfortunately, I don't think we can opt-out of this behavior for end-users that end up requiring |
I put together an example project showing how this works, by using the |
Now might be a good time to start trying Babel 7 and looking out for issues. |
https://babeljs.io/blog/2018/08/27/7.0.0 looks like the moment is finally there 💯 |
I think that Babel 7 being in beta was the biggest blocker to release version 2.0.0. |
Want to start documenting things we need to do when Babel 7 is ready.
{ polyfill: false, useBuiltIns: true, useESModules: true }
, see Add useBuiltIns and useESModules options to transform-runtime babel/babel#5442 for context and babel-runtime helpers should not pull in unnecessary polyfills (T7519) babel/babel#4418 for why we couldn't do it beforetransform-inline-elements
in production and bundle Symbol polyfill (?).The text was updated successfully, but these errors were encountered: