소스 검색

fix(dev) disable performance hints when doing bundle analysis

master
Saúl Ibarra Corretgé 4 년 전
부모
커밋
a5ddc896e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      webpack.config.js

+ 1
- 1
webpack.config.js 파일 보기

@@ -25,7 +25,7 @@ const minimize
25 25
  */
26 26
 function getPerformanceHints(size) {
27 27
     return {
28
-        hints: minimize ? 'error' : false,
28
+        hints: minimize && !analyzeBundle ? 'error' : false,
29 29
         maxAssetSize: size,
30 30
         maxEntrypointSize: size
31 31
     };

Loading…
취소
저장