-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Which project does this relate to?
Start
Describe the bug
i have run into this when trying different manualChunks configurations. i was able to reproduce it in the repo below. the example is not really my intended configuration but just shows how it can happen.
this example also intentionally has a circular dependency because my other project has them: https://github.com/kevinehosford/start-basic-overflow/blob/main/src/routes/posts.tsx#L4-L5.
i'm wondering, is it a bug that this recursive function causes a stack overflow?
Your Example Website or App
https://github.com/kevinehosford/start-basic-overflow
Steps to Reproduce the Bug or Issue
- set up a tanstack start project with
manualChunksand a circular dependency in the application code npm run build
-> seegetCSSRecursivelylead to a call stack overflow exception during the SSR build
Expected behavior
no stack overflow exception like with the client bundle build
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.131.31
- OS: macOS
- Bundler: vite
- Bundler Version: 6.3.5
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels