Vue.js

Polyfill "webpack" template

Parameters#

Files or packages Command or configuration to modify
babel-polyfill npm i -save babel-polyfill
karma.conf.js files: ['../../node_modules/babel-polyfill/dist/polyfill.js','./index.js'],
webpack.base.conf.js app: ['babel-polyfill', './src/main.js']
## Remarks#
The configurations described above, the example using a non-sstandardised function will work on “internet explorer” and npm test will pass.
## Usage of functions to polyfill (ex: find)
```


This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow