From dc19fa435b33081e9e554c0728912dccfb79b617 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 14 Jan 2015 20:02:13 +0000 Subject: [PATCH] Adds missing info about passing arrays to `minify` method. Apparently I forgot to include Readme section with #400. Follow up to f22851cb5a4f21ecf2189a998757724c8e910a93. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8e86dd4d..66150a61 100644 --- 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 -- 2.34.1