How to use the getCurrentRequest function from loader-utils

Find comprehensive JavaScript loader-utils.getCurrentRequest code examples handpicked from public code repositorys.

33
34
35
36
37
38
39
40
41
42
}

processCss(content, map, {
	mode: moduleMode ? "local" : "global",
	from: loaderUtils.getRemainingRequest(this).split("!").pop(),
	to: loaderUtils.getCurrentRequest(this).split("!").pop(),
	query: query,
	loaderContext: this,
	sourceMap: sourceMap
}, function(err, result) {
fork icon0
star icon1
watch icon0