Skip to content

Fixes use of combination of options sourceRoot and mapRoot with inlineSourceMap and inlineSources #5620

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

Merged
merged 3 commits into from
Nov 12, 2015

Conversation

sheetalkamat
Copy link
Member

Also handles : #5613

@mhegazy
Copy link
Contributor

mhegazy commented Nov 11, 2015

👍

sheetalkamat added a commit that referenced this pull request Nov 12, 2015
Fixes use of combination of options sourceRoot and mapRoot with inlineSourceMap and inlineSources
@sheetalkamat sheetalkamat merged commit b3c4733 into master Nov 12, 2015
@sheetalkamat sheetalkamat deleted the inlineSourceMap branch November 12, 2015 19:39
@vsavkin
Copy link

vsavkin commented Nov 21, 2015

Quick question.

Why is the combination of inlineSources and sourceRoot not allowed?

Without being able to set sourceRoot, the source field will always contain relative paths. These paths are used in stack traces. So the the user will see "../../../../../angular2/src/core.ts", which can be confusing.

@mhegazy
Copy link
Contributor

mhegazy commented Nov 23, 2015

--inlineSources will inline the contents of the source file in the map, so the source file is not needed any more.

@vsavkin
Copy link

vsavkin commented Nov 23, 2015

The source file is not used, but the sources property is still used in track traces.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants