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:
authorMike Greiling <mike@pixelcog.com>2017-05-30 20:18:30 +0300
committerMike Greiling <mike@pixelcog.com>2017-05-30 20:18:30 +0300
commit33115f36f78fa35acb911f53a1ff765a0415dee1 (patch)
treef5fbf94dfa0a215fcef9038b2992459dea5f580e /config
parent9c6109db341312222e9dd7158c4e5f41809c4aa3 (diff)
utilize zopfli compression algorithm for frontend assets
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js2
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',
})
);
}