diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-05-30 12:18:30 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-05-30 12:18:30 -0500 |
commit | 33115f36f78fa35acb911f53a1ff765a0415dee1 (patch) | |
tree | f5fbf94dfa0a215fcef9038b2992459dea5f580e /config | |
parent | 9c6109db341312222e9dd7158c4e5f41809c4aa3 (diff) | |
download | gitlab-ce-33115f36f78fa35acb911f53a1ff765a0415dee1.tar.gz |
utilize zopfli compression algorithm for frontend assets
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index b7b80f4bf47..03ba40daab0 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -226,10 +226,12 @@ if (IS_PRODUCTION) { }) ); + // zopfli requires a lot of compute time and is disabled in CI if (!NO_COMPRESSION) { config.plugins.push( new CompressionPlugin({ asset: '[path].gz[query]', + algorithm: 'zopfli', }) ); } |