Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/babel/babel
/ wrapReference
Function
wrapReference
packages/babel-plugin-transform-modules-commonjs/src/lazy.ts:40–43 ·
view source on GitHub ↗
(ref, payload)
Source
from the content-addressed store, hash-verified
38
return
null;
39
},
40
wrapReference(ref, payload) {
41
if
(payload ===
"lazy/function"
)
return
t.callExpression(ref, []);
42
return
null;
43
},
44
});
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected