79433238

Date: 2025-02-12 13:32:24
Score: 2
Natty:
Report link

As mentioned in the following post, path alias is an old way for replacing relative imports in monorepos. Path alias are a purely compile-time construct. To run the application, you will need a runtime plugin

With workspace concepts coming in pnpm/yarn/etc, it is recommended to use workspaces + project references as mentioned in the following ost:

https://nx.dev/blog/managing-ts-packages-in-monorepos

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shijie Zhang