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

Function warnOnce

ark/aot/unplugin.ts:993–997  ·  view source on GitHub ↗
(context: RollupContext, warning: string)

Source from the content-addressed store, hash-verified

991 let definedByBundler: Record<string, unknown> | undefined
992 // once, though each of an app's environments may find it
993 const warnOnce = (context: RollupContext, warning: string) => {
994 if (warnedOfScans.has(warning)) return
995 warnedOfScans.add(warning)
996 context.warn(warning)
997 }
998 // a production build reads the bundle from the first module it transforms
999 function rollupBuildStart(this: RollupContext, options: RollupBuildOptions) {
1000 startBuild.call(this)

Callers 2

rollupBuildStartFunction · 0.70
buildEndFunction · 0.70

Calls 2

hasMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected