0.1.3 • Published 6 years ago
@lewistg/min-js-annotator v0.1.3
Command line tool for annotating generated JavaScript (e.g., minified JavaScript) with source mappings.
Here is the tool's usage statement:
Usage: min-js-annotator [options...] FILE
-h, --help Outputs this help text
-s, --original-source-root DIRECTORY Overrides "sourceRoot" property in the source map
-m, --source-map FILE Overrides the file in the minified file's "//# sourceMappingURL" comment
The tool outputs to standard output the HTML for a self-contained page that renders the input JavaScript file that's been annotated with source mappings.