-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
TypeScript - tsconfig.json paths resolve wildcards #12563
Comments
Ran "paths": {
"*": [
"app/*"
]
} Always trying to resolve with "node_modules" in prefix and ultimately will fail. |
Another debug phase, stumbled upon #10321. |
@beckend thank you for opening this issue and for helping us identify the crux of the issue so we can fix it.
|
Here is the minimal repo. VSCODE:
TSC:
|
There are several tsconfig.json(s). |
This seems to be the intended behavior. If @mhegazy can you correct me if I am misunderstanding? OP has a minimal repo you can pull down and test really simply here |
You are correct @waderyan. an tsconfig.json with empty c:\test\12563\typescript-tsconfig-paths-issue>tsc --listFiles --p tsconfig-include.json
C:/Users/mhegazy/AppData/Roaming/npm/node_modules/typescript/lib/lib.d.ts
c:\test\12563\typescript-tsconfig-paths-issue>tsc --listFiles --p tsconfig-files.json
C:/Users/mhegazy/AppData/Roaming/npm/node_modules/typescript/lib/lib.d.ts |
Then we are done here, thanks for the clarifications. |
Steps to Reproduce:
A sidenote: it does not seem to include
custom-typings/index.d.ts
which will declare the webpack require correctly either...I'm using this tsconfig in
atom
editor and everything works fine.The text was updated successfully, but these errors were encountered: