From f26e17a3c1d27afca25c2715c856f72f25497e0e Mon Sep 17 00:00:00 2001 From: kzc Date: Fri, 26 May 2017 18:21:24 -0400 Subject: [PATCH] clarify what --mangle-props does --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9db3e6c7..985fe507 100644 --- a/README.md +++ b/README.md @@ -218,10 +218,11 @@ to prevent the `require`, `exports` and `$` names from being changed. ### CLI mangling property names (`--mangle-props`) -**Note:** this will probably break your code. Mangling property names is a -separate step, different from variable name mangling. Pass -`--mangle-props`. It will mangle all properties that are seen in some -object literal, or that are assigned to. For example: +**Note:** THIS WILL PROBABLY BREAK YOUR CODE. Mangling property names +is a separate step, different from variable name mangling. Pass +`--mangle-props` to enable it. It will mangle all properties in the +input code with the exception of built in DOM properties and properties +in core javascript classes. For example: ```javascript // example.js