clean build dir contents only to support symlinking build dir

This commit is contained in:
Dima Gerasimov 2019-01-05 14:50:43 +00:00
parent cb572620e9
commit 67682ba492

View file

@ -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)