diff options
author | Stan Hu <stanhu@gmail.com> | 2019-04-08 16:43:02 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-08 16:43:02 -0700 |
commit | 8a9c18ca5a4de8098be9e4e0c248e8f4ba923bb5 (patch) | |
tree | 67029ced74a94052b5716f3d5b4b6ae6c54a7662 | |
parent | b4165554113a7f9ce9fecd7d169f9a64686b5c44 (diff) | |
download | gitlab-ce-sh-enable-inlining-for-prod.tar.gz |
Enable inlining of worker-loadersh-enable-inlining-for-prod
Due to the fact that we have a CDN in produciton, Chrome
appears to be blocking the Worker that is loading the script
from another domain. Inline to work around this issue.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60217
-rw-r--r-- | config/webpack.config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 19b48845305..6760a72aa5e 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -172,7 +172,7 @@ module.exports = { loader: 'worker-loader', options: { name: '[name].[hash:8].worker.js', - inline: IS_DEV_SERVER, + inline: true, }, }, 'babel-loader', |