diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2021-02-15 01:01:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 09:01:18 +0800 |
commit | 203ca2586a759ac2fce057e80ae9195d28ef247e (patch) | |
tree | e79bd4439583213094b46fc144e0919f07678100 /README.md | |
parent | c21f096ab882dc37771375c4eadafe61a3e6ac51 (diff) | |
download | tracifyjs-203ca2586a759ac2fce057e80ae9195d28ef247e.tar.gz tracifyjs-203ca2586a759ac2fce057e80ae9195d28ef247e.zip |
introduce `hoist_exports` (#4651)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -667,11 +667,14 @@ to be `false` and all symbol names will be omitted. - `expression` (default: `false`) -- Pass `true` to preserve completion values from terminal statements without `return`, e.g. in bookmarklets. -- `functions` (default: `true`) -- convert declarations from `var`to `function` +- `functions` (default: `true`) -- convert declarations from `var` to `function` whenever possible. - `global_defs` (default: `{}`) -- see [conditional compilation](#conditional-compilation) +- `hoist_exports` (default: `true`) -- hoist `export` statements to facilitate + various `compress` and `mangle` optimizations. + - `hoist_funs` (default: `false`) -- hoist function declarations - `hoist_props` (default: `true`) -- hoist properties from constant object and |