diff --git a/client/webpack.production.config.js b/client/webpack.production.config.js index 253a642b5..5e053370d 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),