Skip to content

Commit 2ee7552

Browse files
briandipalmamichael-ciniawsky
authored andcommitted
docs(README): improve getLocalIdent section (#473)
1 parent 2f562f8 commit 2ee7552

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,9 @@ You can configure the generated ident with the `localIdentName` query parameter
205205
}
206206
```
207207

208-
You can also specify the absolute path to your custom `getLocalIdent` function to generate classname based on a different schema. Note that this requires `webpack >= v2.x.` since to be able to pass function in. For example:
208+
You can also specify the absolute path to your custom `getLocalIdent` function to generate classname based on a different schema. This requires `webpack >= 2.2.1` (it supports functions in the `options` object). For example:
209209

210+
**webpack.config.js**
210211
```js
211212
{
212213
test: /\.css$/,

0 commit comments

Comments
 (0)