Skip to content

Commit

Permalink
Change sourceMappingURL to line comment
Browse files Browse the repository at this point in the history
Summary: Changes the `sourceMappingURL` comment from multi line to single line.

Reviewed By: johnislarry

Differential Revision: D5094791

fbshipit-source-id: f8fa2efd7f173290cac985564c06b4a118a80aae
  • Loading branch information
davidaurelio authored and facebook-github-bot committed May 19, 2017
1 parent f085d2b commit 225c4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packager/src/ModuleGraph/output/as-plain-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function asPlainBundle({
}

if (sourceMapPath) {
code += `/*# sourceMappingURL=${sourceMapPath}*/`;
code += `//# sourceMappingURL=${sourceMapPath}`;
}

return {
Expand Down

0 comments on commit 225c4c0

Please sign in to comment.