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: {