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

Function writeLiveWorker

ark/docs/lib/writeLiveWorker.ts:12–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 * loads and served from public/.
11 */
12export const writeLiveWorker = () => {
13 buildSync({
14 entryPoints: [
15 join(docsDir, "components", "precompile", "compile.worker.ts")
16 ],
17 outfile: join(publicDir, compileWorkerUrl),
18 bundle: true,
19 format: "esm",
20 platform: "browser",
21 target: "es2022",
22 minify: true,
23 logLevel: "warning"
24 })
25}

Callers 1

next.config.tsFile · 0.90

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected