diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-05-09 16:08:04 +0800 |
---|---|---|
committer | alexlamsl <alexlamsl> | 2017-05-09 16:09:48 +0800 |
commit | bc3fa78e8cedfda4cc0eb7aa7bc7b00c5e860650 (patch) | |
tree | 3a7b07bc60cec52ff72c703b40c03fd44a35a544 | |
parent | 8c7c1077654a3923baebb27e62f7b1dc0a7892b5 (diff) | |
download | tracifyjs-bc3fa78e8cedfda4cc0eb7aa7bc7b00c5e860650.tar.gz tracifyjs-bc3fa78e8cedfda4cc0eb7aa7bc7b00c5e860650.zip |
mention `minify().error`
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -596,7 +596,8 @@ performs all the steps in a configurable manner. Example: ```javascript var result = UglifyJS.minify("var b = function() {};"); -console.log(result.code); // minified output +console.log(result.code); // minified output +console.log(result.error); // runtime error ``` You can also compress multiple files: |