Rspack's Command Line Interface (CLI) supports bundle analysis out-of-box via the --analyze
option. It uses webpack-bundle-analyzer behind the scenes.
You can also generate a stats.json
file for further analysis with other bundle analysis tools like bundle-stats or statoscope: