MCPcopy
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

Calls 1

ensureEntryFromUrlMethod · 0.45

Tested by

no test coverage detected