/webpack-polyfills-plugin

Fork from Sl1v3r/webpack-polyfills-plugin

Primary LanguageJavaScript

npm version

webpack-polyfills-plugin

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

(It is fork from Sl1v3r/webpack-polyfills-plugin)

Usage:

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

module.exports = {

   // ...

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