Top "Babel-polyfill" questions

How do I install the babel-polyfill library?

I just started to use Babel to compile my ES6 javascript code into ES5. When I start to use Promises …

javascript node.js babeljs polyfills babel-polyfill
`regeneratorRuntime` is not defined when running Jest test

The title pretty much explains what I'm facing. I'm trying to test a React component that has some state, and …

reactjs babeljs jestjs babel-polyfill babel-jest
"Only one instance of babel-polyfill is allowed" error

I need help diagnosing and fixing this error: "Error: only one instance of babel-polyfill is allowed" I have the following …

reactjs webpack babeljs babel-polyfill
TSLoader + Babel Polyfill : You may need an additional loader to handle the result of these loaders while running npm run build

I would like to use ts-loader with babel-polyfill but without babel-loader. But when I try to build the project, I …

node.js reactjs babel-polyfill ts-loader
Promise is undefined in IE11 using babel-polyfill

As the title says, even I'd like to use babel-polyfill to allow me to use promises in my code, but …

gulp browserify babel-polyfill
webpack & babel-polyfill: Can't resolve 'core-js/modules/es6.array.map' in source directory

I'm facing this error when I execute webpack: Module not found: Error: Can't resolve 'core-js/modules/es6.array.map' in …

javascript node.js typescript webpack babel-polyfill
react with IE11 is not working, displaying blank screen

when trying to load application in IE11 it just shows blank screen and errors with syntax error on this line …

reactjs webpack internet-explorer-11 babel-polyfill babel-loader
What's wrong with my Webpack config?

I started to use Webpack for a student project, but I'm stuck configuring Webpack to include React and Babel. Here's …

reactjs webpack babeljs babel-polyfill
babel polyfill being included, but forEach still doesn't work in IE11 on NodeLists

I've got Webpack working with Babel and including the @babel/polyfill, yet IE11 is still throwing a SCRIPT438 error when …

javascript webpack babeljs npm-scripts babel-polyfill
How do I use babel's `useBuiltIns: 'usage'` option on the vendors bundle?

Since I need to support also IE11, I need to transpile also node_modules. This is the babel config I …

internet-explorer babeljs polyfills babel-polyfill