diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-01-28 07:33:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 07:33:11 +0800 |
commit | e9e76dcf040d5076b6046d7273c3509df106fb84 (patch) | |
tree | afe9ded11df559969c75abcb106f6bc040f3a306 /README.md | |
parent | 0dcedad2d5a6b670ecd5aef3cf18d5e511af6e91 (diff) | |
download | tracifyjs-e9e76dcf040d5076b6046d7273c3509df106fb84.tar.gz tracifyjs-e9e76dcf040d5076b6046d7273c3509df106fb84.zip |
fix corner case in string concatenations (#3692)
- migrate de-facto compression to `conditionals` & `strings`
fixes #3689
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -736,6 +736,8 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u annotation `/*@__PURE__*/` or `/*#__PURE__*/` immediately precedes the call. For example: `/*@__PURE__*/foo();` +- `strings` (default: `true`) -- compact string concatenations. + - `switches` (default: `true`) -- de-duplicate and remove unreachable `switch` branches - `toplevel` (default: `false`) -- drop unreferenced functions (`"funcs"`) and/or |