Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-11-22 19:40:06 +0300
committerPhil Hughes <me@iamphill.com>2017-11-28 12:23:42 +0300
commitfd818194f157b4facd88ec829d5b43929c465de5 (patch)
tree797870f98f5ff5ec237b1cf436891c3ac1afb860 /config
parent3a1c3c5df5ed6868f62c6c4d4d727ff49f188af3 (diff)
fixed web worker performance
[ci skip]
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js4
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',