/webpack-polyfills-plugin

Easily add polyfills to your Webpack bundle file.

Primary LanguageJavaScript

npm version

webpack-polyfills-plugin

Adds polyfills from polyfill-service to bundle file. Without magic.

Now the maintained plugin, forked from https://github.com/beda-software/webpack-polyfills-plugin/ and ownership transferred.

Usage:

var PolyfillsPlugin = require('webpack-polyfills-plugin');

module.exports = {

   // ...

   plugins: [
      new PolyfillsPlugin([
         'Array/prototype/find',
         'fetch',
         'Object/assign'
      ])
   ]
}