I'm trying to connect an NX project that uses paths
to resolve library folders.
"paths": {
"@nxlib/mylib/*": ["libs/mylib/src/lib/*"],
}
Currently I'm able to get VsCode on a fresh NX project to automatically update the import paths of relative files when I remove the "include":[]
in each project/lib's tsconfig.json (as stated here: Can VS Code automatically update JavaScript and TypeScript import paths on file rename/move?)
Althouth if I start to use the alias path @nxlib/mylib/my-file
renaming or moving my-file.ts
does not automatically update the import paths.
Does anyone know how I can get renaming to work with paths
aliases?