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

Function isVitesOwn

ark/aot/unplugin.ts:2060–2060  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

2058
2059// Vite's plugins, and Rolldown's it runs, which add no read of a validator
2060const isVitesOwn = (name: string) => /^(?:vite|builtin|native):/.test(name)
2061
2062// what a webpack or Rspack compilation has read of the modules it built
2063interface BuiltRead {

Callers 2

unplugin.tsFile · 0.85
laterTransformersOfFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected