Commit 33115f36 authored by Mike Greiling's avatar Mike Greiling

utilize zopfli compression algorithm for frontend assets

parent 9c6109db
......@@ -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',
})
);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment