T
TanStack2y ago
adverse-sapphire

Should I put the `routeTree.gen.ts` in my .gitignore file?

The title says it all.
2 Replies
statutory-emerald
statutory-emerald2y ago
It'll depend on if you do type-checking before the build process. (ie: running the tsc command) If you do, then you SHOULD check in the file using git. If not you can omit it. You could do the type-checking using CI (GitHub actions) and then allows for deployment. Then you could ignore the file.
adverse-sapphire
adverse-sapphireOP2y ago
Thanks!

Did you find this page helpful?