Skip to content

Commit

Permalink
docs(README): improve getLocalIdent section (webpack-contrib#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
briandipalma authored and michael-ciniawsky committed Mar 31, 2017
1 parent 2f562f8 commit 2ee7552
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,9 @@ You can configure the generated ident with the `localIdentName` query parameter
}
```

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:
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:

**webpack.config.js**
```js
{
test: /\.css$/,
Expand Down

0 comments on commit 2ee7552

Please sign in to comment.