diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2018-06-28 18:16:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-28 18:16:49 +0800 |
commit | 76df77c08c684bc49bebb35d6d527d90cea48108 (patch) | |
tree | b9b81b75e4e0556cab728dccbcf82823c2bd0274 /README.md | |
parent | 957d5537a80fcb4037df21f0dbe16391fd0424ad (diff) | |
download | tracifyjs-76df77c08c684bc49bebb35d6d527d90cea48108.tar.gz tracifyjs-76df77c08c684bc49bebb35d6d527d90cea48108.zip |
implement `directives` (#3203)
fixes #3166
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -620,6 +620,8 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u - `dead_code` (default: `true`) -- remove unreachable code +- `directives` (default: `true`) -- remove redundant or non-standard directives + - `drop_console` (default: `false`) -- Pass `true` to discard calls to `console.*` functions. If you wish to drop a specific function call such as `console.info` and/or retain side effects from function arguments |