You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app is created by angular-cli, the src/tsconfig.app.json extend rootDirectory/tsconfig.json.
The src/tsconfig.app.json configure baseUrl with './'.
There are two ts files, src/environments/environment.ts and src/app/test.ts
In src/app/test.ts, Import { environments } from 'environments/environment', and it show cannot find module 'environments/environment'. but it can be compiled successfully.
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered:
We currently only pick up a config file if it is named tsconfig.json. The tsconfig.app.json project file is probably not being recognized at all in this case. Can you try renaming the file to tsconfig.json or creating an empty tsconfig.json that extendstsconfig.app.json
We are tracking support for specifying tsconfig files explicitly with #12463
This issue has been closed automatically because it needs more information and has not had recent activity. Please refer to our guidelines for filing issues. Thank you for your contributions.
tsconfig baseUrl in angular app not working.
Steps to Reproduce:
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: