From 9a8f96a84465538c35211c3bbc4b54aa23cc4b29 Mon Sep 17 00:00:00 2001 From: Casper Lamboo Date: Tue, 6 Mar 2018 17:17:05 +0100 Subject: [PATCH] update web pack config --- webpack.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 8fb2532..157a8d2 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -53,7 +53,13 @@ module.exports = { use: 'yml-loader' }, { test: /\.worker\.js$/, - use: ['worker-loader', babelLoader] + use: [{ + loader: 'worker-loader', + options: { + inline: false, + name: '[name].js' + } + }, babelLoader], }, { test: /\.(png|jpg|gif)$/, use: ['url-loader?name=images/[name].[ext]']