babel-polyfill-loader
A webpack loader that generates a customized babel polyfill
Installation
npm install babel-polyfill-loader
Usage
Add a babel-polyfill.json file to your project:
See the core-js README for more options.
Add an entry to your webpack config:
entry: polyfill: 'babel-polyfill-loader!'
Or require the loader in your project: