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

Function checkInputExternal

ark/aot/unplugin.ts:439–448  ·  view source on GitHub ↗
(
		this: { warn: (message: string) => void },
		options: { external?: unknown }
	)

Source from the content-addressed store, hash-verified

437 else throwBuildError(withAllowUnsafe(problem))
438 }
439 const checkInputExternal = function (
440 this: { warn: (message: string) => void },
441 options: { external?: unknown }
442 ) {
443 checkExternal(
444 specifier => isExternalIn(options.external, specifier),
445 specifier => writeExternalizedMessage(specifier, "external"),
446 message => this.warn(message)
447 )
448 }
449 // tsup and tsdown leave dependencies external through a plugin of their
450 // own, which only the bundle shows
451 const checkBundledExternals = async (

Callers

nothing calls this directly

Calls 2

checkExternalFunction · 0.85
isExternalInFunction · 0.85

Tested by

no test coverage detected