MCPcopy Index your code
hub / github.com/webpack/css-loader / getValidLocalName

Function getValidLocalName

src/utils.js:488–492  ·  view source on GitHub ↗
(localName, exportLocalsConvention)

Source from the content-addressed store, hash-verified

486}
487
488function getValidLocalName(localName, exportLocalsConvention) {
489 const result = exportLocalsConvention(localName);
490
491 return Array.isArray(result) ? result[0] : result;
492}
493
494const IS_MODULES = /\.module(s)?\.\w+$/i;
495const IS_ICSS = /\.icss\.\w+$/i;

Callers 2

getModuleCodeFunction · 0.85
getExportCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected