Fix deletion of manifest.json after every build
This commit is contained in:
@@ -57,7 +57,9 @@ module.exports = env => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new CleanWebpackPlugin(),
|
new CleanWebpackPlugin({
|
||||||
|
cleanAfterEveryBuildPatterns: ["!manifest.json"],
|
||||||
|
}),
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
"process.env.NODE_ENV": JSON.stringify(env.NODE_ENV),
|
"process.env.NODE_ENV": JSON.stringify(env.NODE_ENV),
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user