|
|
|
@ -9,8 +9,8 @@ module.exports = {
|
|
|
|
|
mode: 'production', // "production" | "development" | "none"
|
|
|
|
|
// Chosen mode tells webpack to use its built-in optimizations accordingly.
|
|
|
|
|
entry: {
|
|
|
|
|
bundled: ['@babel/polyfill', './src/bowser.js'],
|
|
|
|
|
es5: './src/bowser.js',
|
|
|
|
|
bundled: ['@babel/polyfill', './src/index.js'],
|
|
|
|
|
es5: './src/index.js',
|
|
|
|
|
}, // string | object | array
|
|
|
|
|
// defaults to ./src
|
|
|
|
|
// Here the application starts executing
|
|
|
|
|