From f157132622b100b9b9e41c34c5d2b4548b7d26b1 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 23 Nov 2018 12:25:22 +0000 Subject: [PATCH] UI Build: stop deleting static ui files when building external ui This can cause an empty static UI if things build in an unfortunate order. --- client/webpack.production.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),