From 5f79ee211eaeccbc7de8e776ebcffe924ac250d1 Mon Sep 17 00:00:00 2001 From: Brent Schmidt Date: Wed, 23 Sep 2020 08:55:44 -0400 Subject: [PATCH] fix: remove !== defaultGetLocalIdent check --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index aaf028d6..6b02e9e8 100644 --- a/src/utils.js +++ b/src/utils.js @@ -296,7 +296,7 @@ function getModulesPlugins(options, loaderContext) { // A null/undefined value signals that we should invoke the default // getLocalIdent method. - if (localIdent == null && getLocalIdent !== defaultGetLocalIdent) { + if (localIdent == null) { localIdent = defaultGetLocalIdent( loaderContext, localIdentName,