Skip to content

Commit be293de

Browse files
committed
Disable minification in npm run watch
1 parent 35013d0 commit be293de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

webpack-watch.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
const config = require("./webpack-dist.config.js")
22

3+
config.plugins = config.plugins.filter(plugin => {
4+
// Disable minification
5+
return plugin.constructor.name !== "UglifyJsPlugin"
6+
})
7+
38
module.exports = config

0 commit comments

Comments
 (0)