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