Skip to content

Commit 85af54c

Browse files
committed
fix: do not clean webpack-stats.json from build files
Signed-off-by: grnd-alt <github@belakkaf.net>
1 parent f3a8de2 commit 85af54c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

webpack.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ if (isDevServer) {
2222
})
2323
)
2424
} else {
25+
webpackConfig.output.clean = {
26+
keep: /\webpack-stats\.json$/,
27+
}
2528
webpackConfig.stats = {
2629
context: path.resolve(__dirname, 'src'),
2730
assets: true,

0 commit comments

Comments
 (0)