aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-18 11:20:04 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:52 +0300
commitc91a070f5d3d9bd66b5195b3cf45fbf9a2f1aca4 (patch)
tree9b36fdf48ec2efc4a3e6f783d8c910d731bc8cde /vnext/webpack.config.js
parentc41644ea950ed689cf27a3db98b3707bda7bfc0d (diff)
babel-polyfill
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r--vnext/webpack.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js
index 298ebde2..37413101 100644
--- a/vnext/webpack.config.js
+++ b/vnext/webpack.config.js
@@ -9,6 +9,7 @@ module.exports = {
mode: process.env.WEBPACK_SERVE ? 'development' : 'production',
entry: {
'Juick': [
+ 'babel-polyfill',
'file-loader?name=index.html!./src/views/index.html',
__dirname + '/src/index.js',
__dirname + '/src/style/main.css'
@@ -35,7 +36,7 @@ module.exports = {
]
},
- { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' },
+ { test: /\.js$/, exclude: /node_modules\/(?!query-string)/, loader: 'babel-loader' },
{ test: /\.(jpe?g|png|gif|svg)$/i, loaders: [
'file-loader?hash=sha512&digest=hex&name=[hash].[ext]'
]}