MCPcopy
hub / github.com/vitejs/vite / getBrowserModule

Function getBrowserModule

packages/vite/src/node/server/__tests__/moduleGraph.spec.ts:53–54  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

51 const addBrowserModule = (url: string) =>
52 clientModuleGraph.ensureEntryFromUrl(url)
53 const getBrowserModule = (url: string) =>
54 clientModuleGraph.getModuleById(url)
55
56 const addServerModule = (url: string) =>
57 ssrModuleGraph.ensureEntryFromUrl(url)

Callers 1

Calls 1

getModuleByIdMethod · 0.45

Tested by

no test coverage detected