Skip to content

Commit

Permalink
fix: remove !== defaultGetLocalIdent check
Browse files Browse the repository at this point in the history
  • Loading branch information
tvsbrent committed Sep 23, 2020
1 parent 96ba438 commit 5f79ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Expand Up @@ -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,
Expand Down

0 comments on commit 5f79ee2

Please sign in to comment.