MCPcopy
hub / github.com/webpack/webpack / index.mjs

File index.mjs

test/configCases/require/create-require-pure-esm/index.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createRequire } from "module";
2import { createRequire as createRequireNode } from "node:module";
3
4const require = createRequire(import.meta.url);

Callers

nothing calls this directly

Calls 4

resolveMethod · 0.65
createRequireFunction · 0.50
itFunction · 0.50
requireFunction · 0.50

Tested by

no test coverage detected