diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-05-08 06:23:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-08 06:23:01 +0800 |
commit | da295de82bfa9e1df39f45ee54e8e11ecce5dfb2 (patch) | |
tree | e69d9df85be707b0138bfc3602f5edd7382bb26c /README.md | |
parent | 4f8ca4626efb15dc986785c89c51cbb3061e5f32 (diff) | |
download | tracifyjs-da295de82bfa9e1df39f45ee54e8e11ecce5dfb2.tar.gz tracifyjs-da295de82bfa9e1df39f45ee54e8e11ecce5dfb2.zip |
support dumping AST (#1879)
Re-order `AST_Binary` properties to make dump more readable.
closes #769
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -95,8 +95,9 @@ The available options are: `wrap_iife` Wrap IIFEs in parenthesis. Note: you may want to disable `negate_iife` under compressor options. - -o, --output <file> Output file (default STDOUT). Specify "spidermonkey" - to dump SpiderMonkey AST format (as JSON) to STDOUT. + -o, --output <file> Output file path (default STDOUT). Specify `ast` or + `spidermonkey` to write UglifyJS or SpiderMonkey AST + as JSON to STDOUT respectively. --comments [filter] Preserve copyright comments in the output. By default this works like Google Closure, keeping JSDoc-style comments that contain "@license" or |