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(ngcc): do not inline source-maps for non-inline typings source-maps #37363

Closed

Conversation

petebacondarwin
Copy link
Member

Inline source-maps in typings files can impact IDE performance
so ngcc should only add such maps if the original typings file
contains inline source-maps.

Fixes #37324

Inline source-maps in typings files can impact IDE performance
so ngcc should only add such maps if the original typings file
contains inline source-maps.

Fixes angular#37324
@pullapprove pullapprove bot requested a review from alxhub May 30, 2020 19:52
@petebacondarwin petebacondarwin requested review from gkalpak and removed request for alxhub May 30, 2020 19:52
@petebacondarwin petebacondarwin added comp: ngcc action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release type: bug/fix labels May 30, 2020
@ngbot ngbot bot added this to the needsTriage milestone May 30, 2020
Copy link
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@petebacondarwin petebacondarwin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 1, 2020
matsko pushed a commit that referenced this pull request Jun 1, 2020
…ps (#37363)

Inline source-maps in typings files can impact IDE performance
so ngcc should only add such maps if the original typings file
contains inline source-maps.

Fixes #37324

PR Close #37363
@matsko matsko closed this in b45f336 Jun 1, 2020
@petebacondarwin petebacondarwin deleted the ngcc-typings-maps branch June 4, 2020 15:59
ngwattcos pushed a commit to ngwattcos/angular that referenced this pull request Jun 25, 2020
…ps (angular#37363)

Inline source-maps in typings files can impact IDE performance
so ngcc should only add such maps if the original typings file
contains inline source-maps.

Fixes angular#37324

PR Close angular#37363
@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 Jul 5, 2020
profanis pushed a commit to profanis/angular that referenced this pull request Sep 5, 2020
…ps (angular#37363)

Inline source-maps in typings files can impact IDE performance
so ngcc should only add such maps if the original typings file
contains inline source-maps.

Fixes angular#37324

PR Close angular#37363
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes target: patch This PR is targeted for the next patch release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ngcc generate inline sourcemaps in .d.ts files and break completely DX
3 participants