clean build dir contents only to support symlinking build dir
This commit is contained in:
parent
cb572620e9
commit
67682ba492
|
@ -59,7 +59,7 @@ var options = {
|
|||
},
|
||||
plugins: [
|
||||
// clean the build folder
|
||||
new CleanWebpackPlugin(["build"]),
|
||||
new CleanWebpackPlugin(["build/*"]),
|
||||
// expose and write the allowed env vars on the compiled bundle
|
||||
new webpack.DefinePlugin({
|
||||
"process.env.NODE_ENV": JSON.stringify(env.NODE_ENV)
|
||||
|
|
Loading…
Reference in a new issue