소스 검색
Disable minification in npm run watch
bubble
Kyle Shockey
7 년 전
No known key found for this signature in database
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 |