Fix deletion of manifest.json after every build
This commit is contained in:
1 parent
8a72f242f9
commit
83faab7fd4
1 file changed
+3
-1
@@ -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