blutorange / closure-compiler-maven-plugin

Combine and minimize JavaScript with Closure Compiler.
http://blutorange.github.com/closure-compiler-maven-plugin
Apache License 2.0
52 stars 6 forks source link

Add option to skip writing sourceMappingURL comment to file #36

Closed blutorange closed 5 years ago

blutorange commented 5 years ago

Issue by BalusC Saturday Feb 03, 2018 at 18:19 GMT Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/157


The SourceMap response header https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap is ignored when sourceMappingURL comment is present.

Neither the documentation nor the source code indicates that there's an option to disable writing sourceMappingURL comment to minified file.

Can this be added?

blutorange commented 5 years ago

This can now be configured via closureSourceMapOutputType. It also supports a new feature: inline source maps.