Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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

Install

npm i webpack-polyfills-plugin

DownloadsWeekly Downloads

111

Version

0.2.0

License

ISC

Unpacked Size

18.5 MB

Total Files

2503

Last publish

Collaborators

  • avatar
  • avatar