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

Function getFilter

src/utils.js:478–486  ·  view source on GitHub ↗
(filter, resourcePath)

Source from the content-addressed store, hash-verified

476}
477
478function getFilter(filter, resourcePath) {
479 return (...args) => {
480 if (typeof filter === "function") {
481 return filter(...args, resourcePath);
482 }
483
484 return true;
485 };
486}
487
488function getValidLocalName(localName, exportLocalsConvention) {
489 const result = exportLocalsConvention(localName);

Callers 1

loaderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected