fix: do not clean webpack-stats.json from build files
Signed-off-by: grnd-alt <github@belakkaf.net>
This commit is contained in:
@@ -22,6 +22,9 @@ if (isDevServer) {
|
||||
})
|
||||
)
|
||||
} else {
|
||||
webpackConfig.output.clean = {
|
||||
keep: /\webpack-stats\.json$/,
|
||||
}
|
||||
webpackConfig.stats = {
|
||||
context: path.resolve(__dirname, 'src'),
|
||||
assets: true,
|
||||
|
||||
Reference in New Issue
Block a user