Adds missing info about passing arrays to `minify` method.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 14 Jan 2015 20:02:13 +0000 (20:02 +0000)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Wed, 14 Jan 2015 20:03:57 +0000 (20:03 +0000)
Apparently I forgot to include Readme section with #400.
Follow up to f22851cb5a4f21ecf2189a998757724c8e910a93.

README.md

index 8e86dd4..66150a6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -249,6 +249,12 @@ new CleanCSS({ sourceMap: inputSourceMapAsString, target: pathToOutputDirectory
 
 ### How to minify multiple files with API
 
+#### Passing an array
+
+```javascript
+new CleanCSS().minify(['path/to/file/one', 'path/to/file/two']);
+```
+
 #### Passing a hash
 
 ```javascript