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

Function shouldUseImportPlugin

src/utils.js:698–708  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

696}
697
698function shouldUseImportPlugin(options) {
699 if (options.modules.exportOnlyLocals) {
700 return false;
701 }
702
703 if (typeof options.import === "boolean") {
704 return options.import;
705 }
706
707 return true;
708}
709
710function shouldUseURLPlugin(options) {
711 if (options.modules.exportOnlyLocals) {

Callers 1

loaderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected