diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-08-16 14:39:01 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-08-18 03:10:34 -0500 |
commit | b8458dc88edfaa342e6e297dc103def656867ef3 (patch) | |
tree | cdcb2b1c3954f5c3a5018a47ae6dffba396d53d3 /config | |
parent | 977e232780d16ded678603712bef75e358efab38 (diff) | |
download | gitlab-ce-b8458dc88edfaa342e6e297dc103def656867ef3.tar.gz |
remove zopfli compression temporarily until a better solution is found
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 6a347c2e660..2637e6ab732 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -277,14 +277,9 @@ if (IS_PRODUCTION) { }) ); - // zopfli requires a lot of compute time and is disabled in CI + // compression can require a lot of compute time and is disabled in CI if (!NO_COMPRESSION) { - // gracefully fall back to gzip if `node-zopfli` is unavailable (e.g. in CentOS 6) - try { - config.plugins.push(new CompressionPlugin({ algorithm: 'zopfli' })); - } catch(err) { - config.plugins.push(new CompressionPlugin({ algorithm: 'gzip' })); - } + config.plugins.push(new CompressionPlugin()); } } |