Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ load
Function
load
packages/vite/src/node/ssr/__tests__/ssrLoadModule.spec.ts:85–93 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
83
}
84
},
85
load(id) {
86
if
(id ===
'\0virtual:test'
) {
87
return
`
88
globalThis.__virtual_test_state ??= 0;
89
globalThis.__virtual_test_state++;
90
export
default globalThis.__virtual_test_state;
91
`
92
}
93
},
94
},
95
],
96
})
Callers
nothing calls this directly
Calls
2
error
Method · 0.65
fn
Function · 0.50
Tested by
no test coverage detected