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

Function applyRspack

ark/aot/unplugin.ts:620–624  ·  view source on GitHub ↗
(compiler: BundlerCompiler)

Source from the content-addressed store, hash-verified

618 }
619 // each compiler Rspack or Rsbuild creates, e.g. one for each environment
620 const applyRspack = (compiler: BundlerCompiler) => {
621 setRoot(compiler.context)
622 keepCompiler(compiler)
623 setEnvironment(environmentOf(compiler))
624 }
625 const loadModule = (id: string) => {
626 if (id in modules) return modules[id]
627 const dir = storeDirOf()

Callers

nothing calls this directly

Calls 4

setRootFunction · 0.85
keepCompilerFunction · 0.85
setEnvironmentFunction · 0.85
environmentOfFunction · 0.85

Tested by

no test coverage detected