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

Function shouldUseURLPlugin

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

Source from the content-addressed store, hash-verified

708}
709
710function shouldUseURLPlugin(options) {
711 if (options.modules.exportOnlyLocals) {
712 return false;
713 }
714
715 if (typeof options.url === "boolean") {
716 return options.url;
717 }
718
719 return true;
720}
721
722function shouldUseModulesPlugins(options) {
723 if (typeof options.modules === "boolean" && options.modules === false) {

Callers 1

loaderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected