Selaa lähdekoodia

Disable minification in npm run watch

bubble
Kyle Shockey 7 vuotta sitten
vanhempi
commit
be293de220
No known key found for this signature in database GPG Key ID: DC20D559FFBC0D36
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. +5
    -0
      webpack-watch.config.js

+ 5
- 0
webpack-watch.config.js Näytä tiedosto

@@ -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

Ladataan…
Peruuta
Tallenna