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

Function externalUnlessEntry

packages/vite/src/node/optimizer/scan.ts:409–412  ·  view source on GitHub ↗
({ path }: { path: string })

Source from the content-addressed store, hash-verified

407 ]
408
409 const externalUnlessEntry = ({ path }: { path: string }) => ({
410 id: path,
411 external: !entries.includes(path),
412 })
413
414 const doTransformGlobImport = async (
415 contents: string,

Callers 1

resolveIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected