Skip to content

Commit

Permalink
webpack: delete original asset when gzipped
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbosma committed Mar 9, 2024
1 parent b6bcb2f commit 9bb3664
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ module.exports = function (webpackEnv) {
}),
new CompressionPlugin({
threshold: 500000,
deleteOriginalAssets: true,
})
].filter(Boolean),
// Turn off performance processing because we utilize
Expand Down

0 comments on commit 9bb3664

Please sign in to comment.