From 9bd4c85eaef51539b2be2b2a3968ef6de3eb2ee8 Mon Sep 17 00:00:00 2001 From: Albert Date: Wed, 6 Feb 2019 15:32:54 +0000 Subject: [PATCH] fix regEx --- ui/webpack.config.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/webpack.config.prod.js b/ui/webpack.config.prod.js index f7093e7273..446b48a848 100644 --- a/ui/webpack.config.prod.js +++ b/ui/webpack.config.prod.js @@ -96,7 +96,7 @@ module.exports = { new CompressionPlugin({ asset: "[path].gz[query]", algorithm: "gzip", - test: /\.js$|\.css$|\.svg$|\.ttf$|\.woff$|\.woff2|\.eot$\.json$/, + test: /\.js$|\.css$|\.svg$|\.ttf$|\.woff$|\.woff2$|\.eot$|\.json$/, threshold: 10240, minRatio: 0.8 }),