Update usage of deprecated sourceMappingURL format

The usage of `//@` in sourceMappingURL pragmas was deprecated in favor of `//#`. 
The deprecation happened in 2013, and was motivated by incompatibilities in IE.

The Chromium and Mozilla issues tracking the change:

https://bugs.chromium.org/p/chromium/issues/detail?id=239660
https://bugzilla.mozilla.org/show_bug.cgi?id=870361

And the Mozilla documentation on the warning that is issued as a result of using the deprecated syntax:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Deprecated_source_map_pragma?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default
This commit is contained in:
AJ Alt
2017-04-15 18:04:02 -07:00
committed by Zalim Bashorov
parent c7bcf4bea7
commit 8d8f5aa3e0
@@ -152,7 +152,7 @@ public class SourceMap3Builder implements SourceMapBuilder {
@Override
public void addLink() {
textOutput.print("\n//@ sourceMappingURL=");
textOutput.print("\n//# sourceMappingURL=");
textOutput.print(generatedFile.getName());
textOutput.print(".map\n");
}