You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ Provides the full list of PostCSS plugins to the pipeline. Providing this cancel
203
203
204
204
Short alias for the [postcss-modules-extract-imports](https://github.com/css-modules/postcss-modules-extract-imports) plugin's `createImportedName` option.
205
205
206
-
### `generateScopedName` function
206
+
### `generateScopedName`string|function
207
207
208
208
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.
209
209
You may also use a string pattern similar to the webpack's [css-loader](https://github.com/webpack/css-loader#local-scope).
@@ -230,6 +230,11 @@ hook({
230
230
});
231
231
```
232
232
233
+
### `hashPrefix` string
234
+
235
+
Short alias for the [generic-names](https://github.com/css-modules/generic-names) helper option.
236
+
Provides additional hash uniqueness. Might be useful for projects with several stylesheets sharing a same name.
237
+
233
238
### `mode` string
234
239
235
240
Short alias for the [postcss-modules-local-by-default](https://github.com/css-modules/postcss-modules-local-by-default) plugin's option.
0 commit comments