webpack-polyfills-plugin

0.2.0 • Public • Published

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'
      ])
   ]
}

Dependents (2)

Package Sidebar

Install

npm i webpack-polyfills-plugin

Weekly Downloads

159

Version

0.2.0

License

ISC

Unpacked Size

18.5 MB

Total Files

2503

Last publish

Collaborators

  • owen.a
  • ruscoder