When compiling source code with webpack, users can generate a JSON file containing statistics about modules. These statistics can be used to analyze an application's dependency graph as well as to optimize compilation speed. The file is typically generated with the following CLI command: npx webpack --profile --json=compilation-stats.json The --json=compilation-stats.json flag indicates to webpack
