mention minify().error
This commit is contained in:
parent
8c7c107765
commit
bc3fa78e8c
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user