-
-
Notifications
You must be signed in to change notification settings - Fork 20
do not generate routeTree.gen.ts on docker build #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
do not generate routeTree.gen.ts on docker build #31
Conversation
Someone is attempting to deploy a commit to the Tushar Selvakumar's projects Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThe Vite configuration was refactored from a static object export to a function-based export that receives the command context. Plugin inclusion is now conditional: the TanStack Router plugin is only added during development. A server watch ignore rule for the generated route file was introduced. Minor formatting and import style changes were made. Changes
Sequence Diagram(s)sequenceDiagram
participant Vite
participant ConfigFunction
participant Plugins
Vite->>ConfigFunction: Call with { command }
ConfigFunction->>Plugins: Always add React SWC
alt command == "serve"
ConfigFunction->>Plugins: Add TanStack Router plugin
else command == "build"
ConfigFunction->>Plugins: Skip TanStack Router plugin
end
ConfigFunction->>Vite: Return config object
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@grambas the issue here is that incase the |
Docker build stucks on Line:
File .../src/routeTree.gen.ts was modified by another process during processing
This changes skips src/routeTree.gen.ts generation on docker build and resolves the issue.
also added routeTree.gen.ts to ignore list for watched files
Summary by CodeRabbit