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.
This commit is contained in:
Bryan Boreham
2018-11-23 12:25:22 +00:00
parent dc15123093
commit f157132622
+1 -1
View File
@@ -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),