Skip to content

Commit 54f4dd4

Browse files
committed
added information about debuggin and the mode option
1 parent b256488 commit 54f4dd4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,14 @@ Short alias for the [postcss-modules-extract-imports](https://github.com/css-mod
140140
### `generateScopedName` function
141141

142142
Short alias for the [postcss-modules-scope](https://github.com/css-modules/postcss-modules-scope) plugin's option. Helps you to specify the custom way to build generic names for the class selectors.
143+
144+
### `mode` string
145+
146+
Short alias for the [postcss-modules-local-by-default](https://github.com/css-modules/postcss-modules-local-by-default) plugin's option.
147+
148+
## Debugging
149+
150+
[debug](https://www.npmjs.com/package/debug) package is used for debugging. So to turn it on simply specify the **DEBUG** environment variable:
151+
- `DEBUG=css-modules:fetch` — to see resolved paths to the files.
152+
- `DEBUG=css-modules:setup` — to see the new options list.
153+
- `DEBUG=css-modules:*` — to see everything.

0 commit comments

Comments
 (0)