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;
fork icon0
star icon1
watch icon0