fabro/apps/fabro-web/app/lib/pierre-diffs-worker.ts
Bryan Helmkamp 603a64810c
Some checks are pending
Rust / Format (push) Waiting to run
Rust / Clippy (push) Waiting to run
Rust / Generated Docs (push) Waiting to run
Rust / Test (Linux) (push) Waiting to run
Rust / Test (macOS) (push) Waiting to run
TypeScript / Typecheck (push) Waiting to run
TypeScript / Test (push) Waiting to run
TypeScript / Build (push) Waiting to run
fix(web): virtualize run file diffs consistently
Always route non-empty Files Changed views through Pierre's Virtualizer and worker pool, with full-height layout propagation and stable per-file cache keys. Copy Pierre worker assets during the web build so the static worker URL resolves in production.
2026-05-05 16:41:39 -04:00

6 lines
148 B
TypeScript

export function workerFactory(): Worker {
return new Worker(
"/assets/pierre-diffs-worker/worker-portable.js",
{ type: "module" },
);
}