From 7c9700136346bbdf08c4b7b5157d196916fc4a6a Mon Sep 17 00:00:00 2001 From: AlecM33 Date: Sun, 10 Nov 2024 13:10:04 -0500 Subject: [PATCH] fix webpack compression exception --- client/webpack/webpack-prod.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/webpack/webpack-prod.config.js b/client/webpack/webpack-prod.config.js index b7fc72e..114e17e 100644 --- a/client/webpack/webpack-prod.config.js +++ b/client/webpack/webpack-prod.config.js @@ -15,7 +15,7 @@ module.exports = { path: path.resolve(__dirname, '../dist'), filename: "[name]-bundle.js" }, - plugins: [new CompressionPlugin({ deleteOriginalAssets: true, exclude: [/521-bundle.js$/]})], + plugins: [new CompressionPlugin({ deleteOriginalAssets: true, exclude: [/\d+-bundle.js$/]})], mode: "production", node: false, module: {