An open API service indexing awesome lists of open source software.

https://github.com/beda-software/webpack-polyfills-plugin

Fork from Sl1v3r/webpack-polyfills-plugin
https://github.com/beda-software/webpack-polyfills-plugin

Last synced: about 1 year ago
JSON representation

Fork from Sl1v3r/webpack-polyfills-plugin

Awesome Lists containing this project

README

          

[![npm version](https://badge.fury.io/js/webpack-polyfills-plugin.svg)](https://badge.fury.io/js/webpack-polyfills-plugin)

# webpack-polyfills-plugin

Adds polyfills from [polyfill-service](https://github.com/Financial-Times/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:

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

module.exports = {

// ...

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