MCPcopy Create free account
hub / github.com/babel/babel / wrapReference

Function wrapReference

packages/babel-plugin-transform-modules-commonjs/src/hooks.ts:62–64  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

60 return findMap(hooks, hook => hook.getWrapperPayload?.(...args));
61 },
62 wrapReference(...args) {
63 return findMap(hooks, hook => hook.wrapReference?.(...args));
64 },
65 buildRequireWrapper(...args) {
66 return findMap(hooks, hook => hook.buildRequireWrapper?.(...args));
67 },

Callers

nothing calls this directly

Calls 2

findMapFunction · 0.85
wrapReferenceMethod · 0.80

Tested by

no test coverage detected