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

Function resolveIn

ark/aot/unplugin.ts:294–300  ·  view source on GitHub ↗
(isBundlerDevelopment: boolean)

Source from the content-addressed store, hash-verified

292 let host = productionHost
293 let isDevelopment = false
294 const resolveIn = (isBundlerDevelopment: boolean) => {
295 isDevelopment = isBundlerDevelopment
296 host =
297 isDevelopment ?
298 (developmentHost ??= createDevelopmentHost(opts))
299 : productionHost
300 }
301 const realCwd = () => realPathOf(opts?.cwd ?? process.cwd())
302 let isStandalone = opts?.runtime !== "arktype"
303 // a production bundle, or any with prune: true, leaves out what no read of it needs

Callers 3

applySettingsFunction · 0.85
keepCompilerFunction · 0.85
unplugin.tsFile · 0.85

Calls 1

createDevelopmentHostFunction · 0.90

Tested by

no test coverage detected