Skip to content

Commit 3a6f98f

Browse files
Adds more batch-suffix docs.
1 parent 74dfd35 commit 3a6f98f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,13 @@ By default it will pick up every single file from `styles` directory, optimize i
385385
You can use `--batch-suffix` option to customize the `-min` suffix, e.g.
386386
387387
```shell
388-
cleancss --batch --batch-suffix '.min' styles/*.css
388+
cleancss --batch --batch-suffix '.min' styles/*.css # output will have `.min` suffix before `.css`, e.g. styles.min.css
389+
```
390+
391+
or
392+
393+
```shell
394+
cleancss --batch --batch-suffix '' styles/*.css # output files will OVERRIDE input files
389395
```
390396
391397
Remember you can use [glob matching](https://www.npmjs.com/package/glob#glob-primer) to match exactly the files you want.

0 commit comments

Comments
 (0)