How to debug/optimise Tanstack Start Client Bundle
i am a bit confused why i have a 2MB bundle in my client -- is there any suggested steps to debug this to see what is causing this?
Thanks!

3 Replies
rising-crimson•4mo ago
on the alpha version, you should be able to just use https://www.npmjs.com/package/vite-bundle-visualizer
npm
vite-bundle-visualizer
Visualize vite bundle. Latest version: 1.2.1, last published: a year ago. Start using vite-bundle-visualizer in your project by running
npm i vite-bundle-visualizer
. There are 11 other projects in the npm registry using vite-bundle-visualizer.rising-crimson•4mo ago
since start is then just a vite plugin
harsh-harlequin•4mo ago
React can be quite large FYI dealt with this myself had to rip out MUI and just cache a ton