Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ ModuleImport
Function
ModuleImport
lib/wasm-sync/WebAssemblyGenerator.js:81–85 ·
view source on GitHub ↗
({ node })
Source
from the content-addressed store, hash-verified
79
80
t.traverse(ast, {
81
ModuleImport({ node }) {
82
if
(t.isGlobalType(node.descr)) {
83
importedGlobals.push(node);
84
}
85
}
86
});
87
88
return
importedGlobals;
Callers
nothing calls this directly
Calls
4
createDefaultInitForGlobal
Function · 0.85
push
Method · 0.45
remove
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected