From e014c81e3456267bb1a951cae2a361fec7f2b32a Mon Sep 17 00:00:00 2001 From: Dale Davies Date: Tue, 10 May 2022 16:02:56 +0100 Subject: [PATCH] Ensure CleanWebpackPlugin deletes files for real --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index d7ed8f5..4562691 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -50,6 +50,7 @@ module.exports = { new MiniCssExtractPlugin({filename: '../css/[name].[contenthash].min.css'}), new RemoveEmptyScriptsPlugin(), new CleanWebpackPlugin({ + dry: false, verbose: true, cleanStaleWebpackAssets: true, cleanOnceBeforeBuildPatterns: [