From fe977a73b88de83af248fed1f58d7106c80f30ce Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Sun, 8 Jul 2018 16:47:40 +0300 Subject: [PATCH] Include babel-polyfill into the build --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 42a7201..271061f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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