You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, @babel/plugin-transform-runtime doesn't polyfill proposals. If you are using corejs: 3, you can opt into this by enabling using the proposals: true option.
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 the corejs 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:
Hey @thernstig! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.
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: