mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-18 03:46:45 +00:00
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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user