Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ This library is a wrapper around the nodejs [uglifyjs2](https://github.com/misho
Usage
-----

```
```php
$ug = new JSUglify2();
$output = $ug->uglify(["somefile.js", "secondfile.js"], "output.js");
```

Given an array of input files and an output file location it will minimise the javascript.
Options can be passed in as a third parameter

```
```php
$ug = new JSUglify2();
$output = $ug->uglify(["somefile.js", "secondfile.js"], "output.js", ['compress' => '']);
```
Expand Down