Support custom path for tsr.config.json
#8263
andrew-kuczynski
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello I noticed something not possible that I think some might appreciate-
It'd be useful to support putting tsr.config.json somewhere other than the project root, for people who want to hide the litany of config files cluttering the repo root (a sisyphean task I know)
Something like:
tsr generate --config ./config/tsr.json
tsr watch --config ./config/tsr.json
And ideally an equivalent option for the Vite/Start plugins so they all use the same config path.
One important detail: config location probably shouldn't change the project root used to resolve things like routesDirectory.
Happy to open a PR if others agree.
Thanks
All reactions