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

Function developmentEntryPoints

ark/repo/bundle.ts:265–272  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

263
264// each imports the entry it wraps, so it ships as tsc wrote it
265const developmentEntryPoints = (dir: string): string[] =>
266 Object.values<string | { development?: string }>(
267 readPackageJson(dir).exports
268 ).flatMap(target =>
269 typeof target === "object" && target.development ?
270 [join(dir, target.development)]
271 : []
272 )
273
274type Edit = [start: number, end: number, replacement: string]
275

Callers 1

bundleFunction · 0.85

Calls 2

readPackageJsonFunction · 0.90
joinFunction · 0.85

Tested by

no test coverage detected