Skip to content
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

fix(@schematics/angular): remove baseUrl from universal tsconfig #13938

Merged
merged 1 commit into from
Mar 19, 2019
Merged

fix(@schematics/angular): remove baseUrl from universal tsconfig #13938

merged 1 commit into from
Mar 19, 2019

Conversation

alan-agius4
Copy link
Collaborator

The baseUrl is used for non relative module imports, and we should always use the baseUrl set in the workspace tsconfig. When having path mappings set at workspace level and setting a baseUrl in the server tsconfig, this paths will no longer work as paths mapping as relative to the baseUrl.

Fixes #13935

@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label Mar 18, 2019
@alan-agius4
Copy link
Collaborator Author

alan-agius4 commented Mar 18, 2019

Targeting master as this won't apply cleanly on patch.

@alan-agius4 alan-agius4 requested a review from filipesilva March 18, 2019 08:43
The baseUrl is used for non relative module imports, and we should always use the baseUrl set in the workspace tsconfig. When having path mappings set at workspace level and setting a `baseUrl` in the server tsconfig, this paths will no longer work as paths mapping as relative to the baseUrl.

Fixes #13935
@alexeagle alexeagle merged commit 10fb461 into angular:master Mar 19, 2019
@alan-agius4 alan-agius4 deleted the path-tsconfig branch March 19, 2019 16:31
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ng add @nguniversal/express-engine doesn't work with lib
4 participants