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:49–52 ·
view source on GitHub ↗
(ref, payload)
Source
from the content-addressed store, hash-verified
47
return
null;
48
},
49
wrapReference(ref, payload) {
50
if
(payload ===
"lazy/function"
)
return
t.callExpression(ref, []);
51
return
null;
52
},
53
});
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected