diff --git a/client/webpack.production.config.js b/client/webpack.production.config.js index 253a642b59..5e053370d2 100644 --- a/client/webpack.production.config.js +++ b/client/webpack.production.config.js @@ -48,7 +48,7 @@ module.exports = { }, plugins: [ - new CleanWebpackPlugin(['build']), + new CleanWebpackPlugin([OUTPUT_PATH]), new webpack.DefinePlugin(GLOBALS), new webpack.optimize.CommonsChunkPlugin({ name: 'vendors', filename: 'vendors.js' }), new webpack.optimize.OccurrenceOrderPlugin(true),