-
Notifications
You must be signed in to change notification settings - Fork 71
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
VSCode resolution failing for "excluded" files #58
Comments
Hi @jplew, If I understand correctly, you're using only the typescript compiler for path aliasing as of today. So you are not using module-alias yet, correct ? Let me know if it helps. |
@Kehrlann thanks for the reply, and sorry if I was unclear. I already have module-alias installed and running in the above example. The library works fine for all the files in my I did read the thread you linked to. I'm not having the same problem as the OP, as VS Code plays nicely with Just wondering if it's possible for aliases to resolve in a file which is intentionally excluded from the compiler. |
I see you've found an answer in #19 👍 It's not something we plan to address anytime soon - I'll close this issue. |
Hi:
VS Code path resolution and auto-completion work great with all my project files that have been explicitly "included", but fail for any files that have been excluded.
The relevant bits of my tsconfig.json:
In my case, I want path aliasing functionality in my test files, but I don't want my tests transpiled and output to my
outDir
.Is it possible to take advantage of module aliases in a file, while simultaneously excluding it from transpilation?
Screenshot for reference:
The text was updated successfully, but these errors were encountered: