When compiling the theme for Open Atrium, we do not add the *.js.map file to the distribution to reduce the complexity of patch submissions. However, even when sourceMapEmbed is false, it still appends the sourceMappingURL to the end of the *.min.js file:
When compiling the theme for Open Atrium, we do not add the
*.js.map
file to the distribution to reduce the complexity of patch submissions. However, even whensourceMapEmbed
is false, it still appends the sourceMappingURL to the end of the *.min.js file:Because this
*.js.map
file is not included in the distro, people get errors when they try to inspect the javascript since the file cannot be found.Would be nice to add a new option for config.xml that could prevent any embedding of source map info. So, in
js.js
, changing:to something like: