summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-02-14 11:33:35 +0000
committerPhil Hughes <me@iamphill.com>2019-02-14 11:33:35 +0000
commit241f0110ca0065262c3548051a06818a14da15b0 (patch)
tree30920cb856a5e097570e3a8312f23e81cb2596eb /config/webpack.config.js
parent0b906832b26c8ba518e792a4e15b4ffa9c2108a0 (diff)
downloadgitlab-ce-241f0110ca0065262c3548051a06818a14da15b0.tar.gz
Fixed web workers not working locally in rspec
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57169
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index fdf179b007a..cf9e77d2424 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -150,6 +150,7 @@ module.exports = {
loader: 'worker-loader',
options: {
name: '[name].[hash:8].worker.js',
+ inline: IS_DEV_SERVER,
},
},
'babel-loader',