Honest tip: forget path aliases, they're more pain than they're worth.
If you want to avoid deep imports and stupid paths, just make a flatter file structure or use nx, turborepo or some other popular tool to create a monorepo where you'll have local packages that you'll be able to import.
Path aliases are a pain, especially so if you need to then get other/external tools to work with your code.
from: https://www.reddit.com/r/typescript/comments/116akie/why_is_this_so_hard_to_do_help/