Skip to content

Commit fbadcbc

Browse files
committed
build: ship a self-contained worker bundle
esbuild bundle (engine vendored and inlined; hono/graphql-yoga remain real npm deps) — deployers' bundlers resolve only standard packages, never the vendored engine. Verified: the bundle serves the production- parity corpus (287 systems, kʻartʻuli) through the fetch interface.
1 parent 8440275 commit fbadcbc

5 files changed

Lines changed: 821 additions & 2210 deletions

File tree

‎dist/src/index.js‎

Lines changed: 13 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/src/server.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export const app = new Hono();
3131
app.use("*", cors({ origin: "*", allowMethods: ["GET", "POST", "OPTIONS"] }));
3232
app.all("*", (c) => {
3333
const env = c.env;
34-
console.log("C.ENV:", env && Object.keys(env));
3534
if (env?.ASSETS)
3635
setAssets(env.ASSETS);
3736
// executionCtx exists only in a real Workers runtime; without it

0 commit comments

Comments
 (0)