You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We're considering gitignoring lib/ROUTES.ts in our repo. But unfortunately it seems like the file is not generated by vite upon running vite build (fortunately our CI caught the mistake before we could deploy to prod!)
Gitignoring the file allows us to not have to run prettier after every update of the file (which ok, granted, is not that often, but still); reduces merge conflicts and "noise" in PR diffs. Leaving the file checked in allows for a nice summary of the routes that changed, but (to me at least) the fact that the +page.svelte were moved around + the fact that deadlinks are statically impossible anyway makes gitignoring it a better choice
Describe the solution you'd like
Either:
Running kit-routes on vite build (arguably the better solution?)
Providing us with a generate binary that we can add to our package.json "generate" script (which already has things like svelte-kit sync and houdini generate)
Describe alternatives you've considered
Leaving the file checked into source control
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We're considering gitignoring lib/ROUTES.ts in our repo. But unfortunately it seems like the file is not generated by vite upon running
vite build
(fortunately our CI caught the mistake before we could deploy to prod!)Gitignoring the file allows us to not have to run prettier after every update of the file (which ok, granted, is not that often, but still); reduces merge conflicts and "noise" in PR diffs. Leaving the file checked in allows for a nice summary of the routes that changed, but (to me at least) the fact that the +page.svelte were moved around + the fact that deadlinks are statically impossible anyway makes gitignoring it a better choice
Describe the solution you'd like
Either:
svelte-kit sync
andhoudini generate
)Describe alternatives you've considered
Leaving the file checked into source control
Additional context
The text was updated successfully, but these errors were encountered: