Commit 62c6b062 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'inline-web-worker-cors' into 'master'

Fixed web workers not working locally in rspec

Closes #57169

See merge request gitlab-org/gitlab-ce!25194
parents b9f1dec3 241f0110
...@@ -150,6 +150,7 @@ module.exports = { ...@@ -150,6 +150,7 @@ module.exports = {
loader: 'worker-loader', loader: 'worker-loader',
options: { options: {
name: '[name].[hash:8].worker.js', name: '[name].[hash:8].worker.js',
inline: IS_DEV_SERVER,
}, },
}, },
'babel-loader', 'babel-loader',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment