This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
Remove "paths" from tsconfig.json everywhere #961
Labels
"paths"
in package.json isn't actually meant for us to use: https://twitter.com/atcb/status/1691208437349462016Instead, we should be using package.json#imports: https://nodejs.org/api/packages.html#subpath-imports
The problem is that, currently, VSCode does not recognize package.jsonimports. Code will compile just fine but VSCode will be quite upset.
Until that issue is closed, we will use BOTH the
"paths"
and "package.json#imports". This will allow us to:Hate doubling up on these configs but it will be easy to remove once the issue is closed!
The text was updated successfully, but these errors were encountered: