loader-utils

Table of Contents

Methods

urlToRequest

const url = "~path/to/module.js";
const request = loaderUtils.urlToRequest(url); // "path/to/module.js"