From 1419c62a19ae8b749c39c10ad11e2c7e61a197c8 Mon Sep 17 00:00:00 2001 From: Brian Di Palma Date: Fri, 31 Mar 2017 12:36:47 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cc41620..9817e097 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 >= v2.x.` (it supports functions in the `options` object). For example: +**webpack.config.js** ```js { test: /\.css$/, From 63b70d7fb9d3f2a4893454e7d86790d57c8fdd77 Mon Sep 17 00:00:00 2001 From: Brian Di Palma Date: Fri, 31 Mar 2017 14:18:03 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9817e097..a858091a 100644 --- a/README.md +++ b/README.md @@ -205,7 +205,7 @@ 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. This requires `webpack >= v2.x.` (it supports functions in the `options` object). 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