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

Function loadsThroughPlugin

ark/aot/unplugin.ts:2238–2239  ·  view source on GitHub ↗
({ loaders }: BuiltBundlerModule)

Source from the content-addressed store, hash-verified

2236// a request like `-!loader!./file` runs only the loader it names, so nothing the
2237// plugin writes of it reaches the bundle, which reads it as it was built
2238const loadsThroughPlugin = ({ loaders }: BuiltBundlerModule) =>
2239 !!loaders?.some(isPluginLoader)
2240
2241const isPluginLoader = (loader: BuiltLoader) => isLoaderOf(loader, pluginName)
2242

Callers 1

builtOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected