diff options
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r-- | vnext/webpack.config.js | 3 |
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]' ]} |