-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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/plugin-transform-runtime and corejs option #2494
Comments
Hey @thernstig! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
Caveat: I have just recently been learning everything babel, but I've read up extensively, yet it is still possible I misunderstand something.
According to https://babeljs.io/docs/en/babel-plugin-transform-runtime#corejs and this text:
It makes it sound like the package will actually polyfill non proposals. I assume that is incorrect?
@babel/plugin-transform-runtime
never inserts any polyfills. It just adds imports for helper functions. And in addition when thecorejs
option is used, it is unclear what it does for me. It sounds like it re-writes helpers, but since the intention of@babel/plugin-transform-runtime
is to actually add imports for helpers, then how can it re-write them?The text was updated successfully, but these errors were encountered: