diff --git a/webpack.config.js b/webpack.config.js index 83f7450..e3b22b2 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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)