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

Loading…
Cancel
Save