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
11 lines
471 B
TypeScript
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;
|