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

Function resolveEntry

packages/vite/src/node/optimizer/rolldownDepPlugin.ts:155–162  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

153 )
154
155 function resolveEntry(id: string) {
156 const flatId = flattenId(id)
157 if (flatId in qualified) {
158 return {
159 id: qualified[flatId],
160 }
161 }
162 }
163
164 const bundleOutputDir = path.join(environment.config.cacheDir, 'deps')
165

Callers 1

handlerFunction · 0.85

Calls 1

flattenIdFunction · 0.90

Tested by

no test coverage detected