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

Function getUrl

lib/url/URLParserPlugin.js:35–35  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

33 * @returns {URL} file url
34 */
35const getUrl = (module) => pathToFileURL(module.resource);
36
37/**
38 * Checks whether this object is meta url.

Callers 1

applyMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected