How to use the isUrlRequest function from loader-utils
Find comprehensive JavaScript loader-utils.isUrlRequest code examples handpicked from public code repositorys.
96 97 98 99 100 101 102 103 104 105
if (typeof importIndex === "number") { item.name = "___CSS_LOADER_IMPORT___" + importIndex + "___"; } break; case "url": if (options.url && item.url.replace(/\s/g, '').length && !/^#/.test(item.url) && loaderUtils.isUrlRequest(item.url)) { // Strip quotes, they will be re-added if the module needs them item.stringType = ""; delete item.innerSpacingBefore; delete item.innerSpacingAfter;
0
1
0
loader-utils.interpolateName is the most popular function in loader-utils (294 examples)