News for hackers. Stuff that matters.
Re:Best practices for TypeScript monorepo by Jochim on Thursday August 25, 2022 @03:43PM (#32598999)
Personally I'm a fan of using relative paths for anything in the same directory or a sub-directory of the current file and absolute paths for everything else.

I feel like it keeps things clean while also providing a way to distinguish between closely related modules and imports from further away in your application.

Re:Best practices for TypeScript monorepo by throwaway284534 on Thursday August 25, 2022 @06:13PM (#32600598)
I’ve also fallen back into favoring relative paths and doing my best to keep nested paths to a minimum. This also makes publishing on Deno’s module listing possible too!