瀏覽代碼
Disable minification in npm run watch
bubble
Kyle Shockey
7 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: DC20D559FFBC0D36
共有
1 個檔案被更改,包括
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 |