babel-polyfills
babel-polyfills copied to clipboard
A set of Babel plugins that enable injecting different polyfills with different strategies in your compiled code.
when i see `Object.hasOwn`, I try it in my project, but I do not know if it can be support. I analyse `@babel/preset-env` and find `@babel/helper-define-polyfill-provider`. I find `entry` or...
closes #110
### 💻 - [ ] Would you like to work on a fix? ### How are you using Babel? @babel/cli ### Input code ```js // code doesn't really matter, it...
`ownKeys` and `_objectSpread` are inlined for each file using the migration below Old configuration New configuration ```json { "presets": [ ["@babel/preset-env", { "useBuiltIns": "usage", "corejs": 3 }] ], "plugins": [...
Hi guys! Thank you for all your great work here, I really think `babel-polyfills` is the good path to follow. It just took me some time to find it. Yesterday...
Hi I see [Rethink polyfilling story](https://github.com/babel/babel/issues/10008) was closed because of this project. But I read here https://babeljs.io/docs/en/babel-polyfill/ "As of Babel 7.4.0, **this package has been deprecated**" So my question is...
### 💻 - [ ] Would you like to work on a fix? ### How are you using Babel? @babel/cli ### Input code case 1(wrong result) ```js function test() {...
### 💻 - [ ] Would you like to work on a fix? ### How are you using Babel? babel-loader (webpack) ### Input code ```js document.body.childNodes.forEach(x => { x; })...
Here is my `@babel/preset-env` settings: ```js { "presets": [ [ "@babel/preset-env", { "useBuiltIns": "usage", "corejs": 3 } ] ], "targets": { "chrome": "58", "ie": "11" } } ``` And I...