aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-06-28 18:16:49 +0800
committerGitHub <noreply@github.com>2018-06-28 18:16:49 +0800
commit76df77c08c684bc49bebb35d6d527d90cea48108 (patch)
treeb9b81b75e4e0556cab728dccbcf82823c2bd0274 /README.md
parent957d5537a80fcb4037df21f0dbe16391fd0424ad (diff)
downloadtracifyjs-76df77c08c684bc49bebb35d6d527d90cea48108.tar.gz
tracifyjs-76df77c08c684bc49bebb35d6d527d90cea48108.zip
implement `directives` (#3203)
fixes #3166
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 663ce7b4..b21736de 100644
--- a/README.md
+++ b/README.md
@@ -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