Router Plugin question

Hi all,

I have a situation where I need to rename my async chunks generated from the tanstack router plugin for auto code splitting. I want to protect certain JS chunks on my backend auth via regex/name compared against the manifest, but they seem to be created as [tinyint].[hash].js, so they lose their nomenclature. I ideally would like to factor in the route name into it so like [route-name].[hash].js.

I’m leveraging Rsbuild currently. Is my only option to opt out of auto code splitting and to manage it out of rsbuild/rspack, or is this configurable via the plugin config? I tried to peek into the package on GitHub but I was sort of getting lost in the overhead.
Was this page helpful?