Browse Source

fix(dev) disable performance hints when doing bundle analysis

master
Saúl Ibarra Corretgé 4 years ago
parent
commit
a5ddc896e2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      webpack.config.js

+ 1
- 1
webpack.config.js View File

@@ -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…
Cancel
Save