File tree 1 file changed +2
-12
lines changed
1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -317,25 +317,15 @@ function defaultGetLocalIdent(
317
317
localName ,
318
318
options
319
319
) {
320
- let relativeMatchResource = "" ;
321
-
322
- const { context, hashSalt } = options ;
320
+ const { context } = options ;
323
321
const { resourcePath } = loaderContext ;
324
322
325
- // eslint-disable-next-line no-underscore-dangle
326
- if ( loaderContext . _module && loaderContext . _module . matchResource ) {
327
- relativeMatchResource = `${ normalizePath (
328
- // eslint-disable-next-line no-underscore-dangle
329
- path . relative ( context , loaderContext . _module . matchResource )
330
- ) } \x00`;
331
- }
332
-
333
323
const relativeResourcePath = normalizePath (
334
324
path . relative ( context , resourcePath )
335
325
) ;
336
326
337
327
// eslint-disable-next-line no-param-reassign
338
- options . content = `${ relativeMatchResource } ${ relativeResourcePath } \x00${ localName } ` ;
328
+ options . content = `${ relativeResourcePath } \x00${ localName } ` ;
339
329
340
330
let { hashFunction, hashDigest, hashDigestLength } = options ;
341
331
const matches = localIdentName . match (
You can’t perform that action at this time.
0 commit comments