瀏覽代碼

Disable minification in npm run watch

bubble
Kyle Shockey 7 年之前
父節點
當前提交
be293de220
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: DC20D559FFBC0D36
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      webpack-watch.config.js

+ 5
- 0
webpack-watch.config.js 查看文件

@@ -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…
取消
儲存