0.1.3 • Published 7 years ago

polyfills-service-webpack-plugin v0.1.3

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

polyfills-service-webpack-plugin

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

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

Usage:

  • Fist Parameter is which you want to Polyfills
  • Second Parameter is provide for customer config which file you do not want to Poly, If you not provide this parameter, All files will execute Poly. This must be a Regular Expression
var PolyfillsPlugin = require('polyfills-service-webpack-plugin');

module.exports = {

   // ...

   plugins: [
      new PolyfillsPlugin([
         'Array/prototype/find',
         'fetch'
      ], /\.(css|scss)$/)
   ]
}

Benwei modified

npm install polyfills-service-webpack-plugin --save-dev
0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.9

7 years ago