MCPcopy
hub / github.com/webpack/webpack / importMetaUrl

Method importMetaUrl

lib/dependencies/ImportMetaPlugin.js:161–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159
160 // import.meta direct
161 const importMetaUrl = () =>
162 JSON.stringify(getUrl(parser.state.module));
163 const importMetaWebpackVersion = () =>
164 JSON.stringify(WEBPACK_VERSION);
165 /**

Callers

nothing calls this directly

Calls 1

getUrlFunction · 0.70

Tested by

no test coverage detected