fix: do not clean webpack-stats.json from build files

Signed-off-by: grnd-alt <github@belakkaf.net>
This commit is contained in:
grnd-alt
2025-07-08 16:56:52 +02:00
parent f3a8de2c48
commit 85af54cd6f

View File

@@ -22,6 +22,9 @@ if (isDevServer) {
})
)
} else {
webpackConfig.output.clean = {
keep: /\webpack-stats\.json$/,
}
webpackConfig.stats = {
context: path.resolve(__dirname, 'src'),
assets: true,