Polyfill "webpack" template

Download vue.js eBook


Files or packagesCommand or configuration to modify
babel-polyfillnpm i -save babel-polyfill
karma.conf.jsfiles: ['../../node_modules/babel-polyfill/dist/polyfill.js','./index.js'],
webpack.base.conf.jsapp: ['babel-polyfill', './src/main.js']


The configurations described above, the example using a non-sstandardised function will work on "internet explorer" and npm test will pass.

Related Examples


16 Contributors: 1
Tuesday, February 21, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook