I've tried searching a variety of google searches and whether it's the bloated word require or unfriendliness to ./_ I cannot find information around this.
I'm digging into require._stats to try and understand the performance of my application based on modules defined, used, etc and the properties under require._stats look like useful tools into discovering this information.
I have a rough idea of what a few of the following mean but am curious on solid definitions for the following fields that pop up after typing require._stats in the dev console (linking to any external resources is appreciated as well):
- define
- exports
- findDeps
- findModule
- modules
- pendingQueueLength
- reify
- require
- resolve
- resolveRelative
Aucun commentaire:
Enregistrer un commentaire