Files
captoys/diigo-cache/src/capnweb-browser.ts
T
dckc 0a5de621ec fixup! diigo-cache: fill from a webkey page over Cap'n Web
Docs per the docs-files-api skill: a 1–2 line @file; what a declaration is or does in JSDoc on it, not in // comments or the file header.

Generated-by: Claude Opus 5.5
2026-10-07 09:34:06 -05:00

11 lines
471 B
TypeScript

/** @file capnweb's browser build, as text, for the worker to serve. */
// @ts-expect-error: a Text-rule import (wrangler.jsonc "rules"), not code
import source from "../node_modules/capnweb/dist/index.js";
/**
* capnweb's browser build (a self-contained ES module), served at
* /_capnweb.js; wrangler's Text rule makes the import a string.
* Self-hosted: no third-party script on a page that holds a bearer key.
*/
export const CAPNWEB_BROWSER_JS: string = source;