-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Sometimes it would be useful to prevent UglifyJS2 from adding the following tag at the bottom of a minified file with a source map:
//# sourceMappingURL=http://host/js/source.map
It's always a few bytes less in the final output. In our case, we would prefer to conditionally add a X-SourceMap: HTTP header (for example, when a developer is logged in) - of course we would have to handle this on our side.
Perhaps you could add a --no-source-map-url option to UglifyJS2?
Reactions are currently unavailable