Browse Source

Disable minification in npm run watch

bubble
Kyle Shockey 7 years ago
parent
commit
be293de220
No known key found for this signature in database GPG Key ID: DC20D559FFBC0D36
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      webpack-watch.config.js

+ 5
- 0
webpack-watch.config.js View File

@@ -1,3 +1,8 @@
const config = require("./webpack-dist.config.js")

config.plugins = config.plugins.filter(plugin => {
// Disable minification
return plugin.constructor.name !== "UglifyJsPlugin"
})

module.exports = config

Loading…
Cancel
Save