about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2019-03-15 20:02:30 -0700
committerEugen Rochko <eugen@zeonfederated.com>2019-03-16 04:02:30 +0100
commit8da5b8e6695e3bcca8eb4bca754faef83a6656eb (patch)
tree71bfbb265433ff1e870d1556a2c4d4e314785a90 /config
parent782b622f5f295fc9d91bb2461dc049f55766af9c (diff)
perf: remove zopfli to speed up webpack (#10288)
Diffstat (limited to 'config')
-rw-r--r--config/webpack/production.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/webpack/production.js b/config/webpack/production.js
index cae978fcb..6f27aa2c7 100644
--- a/config/webpack/production.js
+++ b/config/webpack/production.js
@@ -7,7 +7,6 @@ const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
 const OfflinePlugin = require('offline-plugin');
 const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
 const CompressionPlugin = require('compression-webpack-plugin');
-const zopfli = require('@gfx/zopfli');
 const { output } = require('./configuration');
 const sharedConfig = require('./shared');
 
@@ -55,9 +54,6 @@ module.exports = merge(sharedConfig, {
   plugins: [
     new CompressionPlugin({
       filename: '[path].gz[query]',
-      algorithm(input, compressionOptions, callback) {
-        return zopfli.gzip(input, compressionOptions, callback);
-      },
       cache: true,
       test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/,
     }),