@@ -572,22 +572,27 @@ else `stats` as json:
572572 " main" : " output.js" ,
573573 " namedChunk" : " 1.output.js"
574574 }
575+ dependencies: [ " filename" , ... ],
576+ loaders: [ " filename of loader" , ... ]
577+ contexts: [ " dirname of context" , ... ]
575578 warnings: [ " Some warning" ],
576579 errors: [ " Some error" ],
577580 fileModules: {
578581 " output.js" : [
579- { id: 0 , size: 123 , filename: " /home/.../main.js" , reasons: [
580- { type: " main" }
581- ],
582+ {
583+ id: 0 ,
584+ size: 123 ,
585+ filename: " /home/.../main.js" ,
586+ reasons: [ { type: " main" } ],
582587 dependencies: [ " filename" , ... ],
583588 loaders: [ " filename of loader" , ... ]
584589 },
585590 { id: 1 , size: 234 , filename: " ..." , reasons: [
586591 { type: " require" , // or "context", "async require", "async context"
587- count: 2 ,
588- filename: " /home/.../main.js" ,
589- // or dirname: "..." // for type = "context" or "async context"
590- }
592+ count: 2 ,
593+ filename: " /home/.../main.js" ,
594+ // additionally: dirname: "..." // for type = "context" or "async context"
595+ }
591596 ]},
592597 ...
593598 ],
0 commit comments