1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Include babel-polyfill into the build

This commit is contained in:
Denis Demchenko 2018-07-08 16:47:40 +03:00
parent c5f749c3d4
commit fe977a73b8

View File

@ -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