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:
parent
c5f749c3d4
commit
fe977a73b8
@ -3,7 +3,7 @@ const path = require('path');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
mode: 'production', // "production" | "development" | "none"
|
mode: 'production', // "production" | "development" | "none"
|
||||||
// Chosen mode tells webpack to use its built-in optimizations accordingly.
|
// 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
|
// defaults to ./src
|
||||||
// Here the application starts executing
|
// Here the application starts executing
|
||||||
// and webpack starts bundling
|
// and webpack starts bundling
|
||||||
|
Loading…
Reference in New Issue
Block a user