MCPcopy Create free account
hub / github.com/arktypeio/arktype / buildOf

Function buildOf

ark/aot/unplugin.ts:967–968  ·  view source on GitHub ↗
(context: unknown)

Source from the content-addressed store, hash-verified

965 }
966 const rollupBuild = {}
967 const buildOf = (context: unknown) =>
968 (context as { environment?: object }).environment ?? rollupBuild
969 let isServing = false
970 // a Vite app's environments share the declarations of the app's build
971 const declarationsByApp = new WeakMap<object, Declarations>()

Callers 6

issueFeaturesOfFunction · 0.85
copiedProblemOfFunction · 0.85
rollupBuildStartFunction · 0.85
scanOfFunction · 0.85
handlerFunction · 0.85
buildEndFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected