MCPcopy
hub / github.com/webpack/webpack / getUrl

Function getUrl

lib/dependencies/WorkerPlugin.js:55–55  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

53 * @returns {string} url
54 */
55const getUrl = (module) => pathToFileURL(module.resource).toString();
56
57const WorkerSpecifierTag = Symbol("worker specifier tag");
58

Callers 4

parseModuleUrlMethod · 0.70
handleNewWorkerMethod · 0.70
importMetaUrlMethod · 0.70
parserHandlerMethod · 0.70

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected