Include babel-polyfill into the build

pull/227/head
Denis Demchenko 6 years ago
parent c5f749c3d4
commit fe977a73b8

@ -3,7 +3,7 @@ const path = require('path');
module.exports = {
mode: 'production', // "production" | "development" | "none"
// Chosen mode tells webpack to use its built-in optimizations accordingly.
entry: ['./src/bowser.js'], // string | object | array
entry: ['babel-polyfill', './src/bowser.js'], // string | object | array
// defaults to ./src
// Here the application starts executing
// and webpack starts bundling

Loading…
Cancel
Save