Share your code.
Map one source map to another source map. Why would you want this? Lets say...
- Remap the source map for the obfuscated code back to the original Typescript
- grunt-contrib-uglify already accomplishes this with its sourceMapIn option. Only use this task for cases that do not already have this functionality.
- This module does not fix any of the problems with source maps generated along with Closure Compiler's
ADVANCED_OPTIMIZATIONS. With this option, Closure Compiler can rewrite source so far beyond the original version, that mapping becomes virtually impossible.
npm install grunt-map2map --save-dev
stringValue to append as sourceMappingURL to generated source file
stringThe location of the source map to remap to
stringThe location of the source map that
generatedwill remap to
stringThe location to save the remapped source map, defaults to