-
Notifications
You must be signed in to change notification settings - Fork 12k
Make baseUrl
works in angular-cli
#1992
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
this is documentation about baseUrl. It would be nice to have this option working instead of having something like: |
Already raised here: #1465 |
Dupe of #1465 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Uh oh!
There was an error while loading. Please reload this page.
It doesn't matter
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:angular-cli: local (v1.0.0-beta.11-webpack.8, branch: master) node: 6.2.1 os: darwin x64
do on your code? etc.
Just create an app. Set
baseUrl
to"."
intsconfig.json
more information.
It does not find the import
Not sur i should post this improvement here but Typescript 2.0 introduces
baseUrl
options which allow absolute imports.It would be really appreciated to include it in angular-cli.
Update: This PR might help. And apparently,
baseUrl
was introduced in TS1.9The text was updated successfully, but these errors were encountered: