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

Function refusePruneIn

ark/aot/unplugin.ts:159–161  ·  view source on GitHub ↗
(set: PrecompileUnpluginOptions)

Source from the content-addressed store, hash-verified

157 refuseDeclare(opts, meta.framework)
158 // set here or in ark.json, as a host that can't prune would ignore it
159 const refusePruneIn = (set: PrecompileUnpluginOptions) => {
160 if (!(meta.framework in pruningFrameworks)) refusePrune(set, meta.framework)
161 }
162 // Rollup's mark of a virtual module, which esbuild and Bun print as a NUL
163 const virtual =
164 meta.framework === "esbuild" || meta.framework === "bun" ? "" : "\0"

Callers 2

unplugin.tsFile · 0.85
applySettingsFunction · 0.85

Calls 1

refusePruneFunction · 0.90

Tested by

no test coverage detected