/** @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;