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 {
|
} else {
|
||||||
|
webpackConfig.output.clean = {
|
||||||
|
keep: /\webpack-stats\.json$/,
|
||||||
|
}
|
||||||
webpackConfig.stats = {
|
webpackConfig.stats = {
|
||||||
context: path.resolve(__dirname, 'src'),
|
context: path.resolve(__dirname, 'src'),
|
||||||
assets: true,
|
assets: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user