-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Stop prepending file:// to sourcemap paths #16183
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
Conversation
Submitting on behalf of mhegazy
@amcasey, |
@sandersn was going to confirm that this didn't break some other debugger scenarios. |
@@ -321,9 +321,6 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, opts | |||
} | |||
else { | |||
options += " -sourcemap"; | |||
if (!opts.noMapRoot) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can now remove all references to noMapRoot
in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, missed this one. I'll create a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm about to try it with the Chrome/Ubuntu/jake combination to make sure that it works. (I believe this combination was broken before and that only gulp worked.) I'll sign off when I confirm that it works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works, but it works differently than gulp. With jake, the source maps show up under built/local/src/compiler/checker.ts (for example). With gulp source maps show up udner src/compiler/checker.ts (for example).
This is a big improvement on not working at all!
Missed a comment in PR microsoft#16183
Submitting on behalf of @mhegazy.