t3-oss / t3-env

https://env.t3.gg
MIT License
2.45k stars 79 forks source link

Add note that path aliases will stop working if you use jiti #197

Closed deadcoder0904 closed 4 months ago

deadcoder0904 commented 4 months ago

I think most people use @/app instead of ../app & they will face this error.

It should definitely be added to the docs otherwise everyone will keep opening the same issue.

For more context, see my comment -> https://github.com/t3-oss/t3-env/issues/180#issuecomment-1954165407

juliusmarminge commented 4 months ago

Docs uses relative path for the next config (you needed that even before jiti iirc).

I dont think we should expect eveyone to call out the shortcomings of other libs, the docs would become very daunting if we for example pointed out a bunch of "flaws" in Zod. That should live in their repo imo