From 2ee755294d5b57624c8a3eabec0e1e6671912fd9 Mon Sep 17 00:00:00 2001 From: Brian Di Palma Date: Fri, 31 Mar 2017 14:23:08 +0100 Subject: [PATCH] docs(README): improve `getLocalIdent` section (#473) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cc41620..a858091a 100644 --- a/README.md +++ b/README.md @@ -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$/,