From 76df77c08c684bc49bebb35d6d527d90cea48108 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Thu, 28 Jun 2018 18:16:49 +0800 Subject: implement `directives` (#3203) fixes #3166 --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') 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 -- cgit v1.2.3