Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ addBrowserModule
Function
addBrowserModule
packages/vite/src/node/server/__tests__/moduleGraph.spec.ts:51–52 ·
view source on GitHub ↗
(url: string)
Source
from the content-addressed store, hash-verified
49
})
50
51
const
addBrowserModule = (url: string) =>
52
clientModuleGraph.ensureEntryFromUrl(url)
53
const
getBrowserModule = (url: string) =>
54
clientModuleGraph.getModuleById(url)
55
Callers
1
moduleGraph.spec.ts
File · 0.85
Calls
1
ensureEntryFromUrl
Method · 0.45
Tested by
no test coverage detected