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
This commit is contained in:
1 parent
164d3cb8cb
commit
0a5de621ec
1 file changed
+6
-6
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* @file capnweb's browser build (a self-contained ES module), as text, for
|
||||
* the worker to serve at /_capnweb.js; wrangler's Text rule for this path
|
||||
* makes the import a string. Self-hosted: no third-party script on a page
|
||||
* that holds a bearer key.
|
||||
*/
|
||||
/** @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;
|
||||
Reference in new issue
Block a user