-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work with Project References that have a rootDir in their tsconfig #145
Comments
@miguel-leon can you provide us the console output when running with --debug? |
It contained a lot of unnecessary information, because it wasn't a new empty project. I already moved on, so I don't have it anymore. |
This issue could probably be solved by changing |
I think an update to rootDir's parsing is needed to fully resolve this issue here. Make it possible to parse the directory after the build. |
This doesn't work. |
In my main project
tsconfig.json
there is:being
models
a Project Reference, there's atsconfig.json
file in its directory:This means the output of tsc will be put directly in
../dist/models
skipping thesrc
subdirectory.When tsc-aliases runs, it is trying to locate the file
dist/models/src/index.js
, deems it invalid and doesn't replace the import.But it should have been looking in
dist/models/index.js
instead.The text was updated successfully, but these errors were encountered: