-
Notifications
You must be signed in to change notification settings - Fork 12.8k
resolveJsonModule doesn't work with composite projects and import from node_modules #30785
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
Comments
@sheetalkamat what's the intended behavior here? |
We do have explicit check for json file from project reference so those should work correctly. |
I'm also experiencing this problem - using a monorepo with |
@thovden please share minimal repro steps so we can take further action thanks |
@sheetalkamat seems like I'm not able to reproduce using |
TypeStrong/ts-loader#905 - so for now |
Closing this since its not an issue. |
This is a regression in 3.4
Code
tsconfig:
Expected behavior:
file compiles
Actual behavior:
error TS6307: File 'redacted/node_modules/libphonenumber-js/examples.mobile.json' is not in project file list. Projects must list all files or use an 'include' pattern.
Related Issues:
#25636
The text was updated successfully, but these errors were encountered: