diff options
author | Phil Hughes <me@iamphill.com> | 2017-11-22 16:40:06 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-11-28 09:23:42 +0000 |
commit | fd818194f157b4facd88ec829d5b43929c465de5 (patch) | |
tree | 797870f98f5ff5ec237b1cf436891c3ac1afb860 /config | |
parent | 3a1c3c5df5ed6868f62c6c4d4d727ff49f188af3 (diff) | |
download | gitlab-ce-fd818194f157b4facd88ec829d5b43929c465de5.tar.gz |
fixed web worker performance
[ci skip]
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index f7a7182a627..78ced4c3e8c 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -117,6 +117,10 @@ var config = { options: { limit: 2048 }, }, { + test: /\_worker\.js$/, + loader: 'worker-loader', + }, + { test: /\.(worker(\.min)?\.js|pdf|bmpr)$/, exclude: /node_modules/, loader: 'file-loader', |