Skip to content

Commit 164873b

Browse files
committed
added description about ignore option
1 parent 86a0a08 commit 164873b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ hook({
177177

178178
Attach the require hook to additional file extensions (for example `['.scss']`).
179179

180+
### `ignore` function|regex|string
181+
182+
Provides possibility to exclude particular files from processing. Supports glob and regular expressions syntax. Also you may provide custom function.
183+
180184
### `rootDir` string
181185

182186
Provides absolute path to the project directory. Providing this will result in better generated class names. It can be obligatory, if you run require hook and build tools (like [css-modulesify](https://github.com/css-modules/css-modulesify)) from different working directories.

0 commit comments

Comments
 (0)