From a491a82b583623ec48d7393c21a9f4da577c4e8e Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sun, 22 Feb 2026 21:04:33 +0800 Subject: [PATCH] fix(ssr): disable tsdown inlineOnly check for worker build (#4870) The worker build intentionally bundles all dependencies (noExternal: ["**"]) for Cloudflare Workers. Set inlineOnly: false to suppress the error that causes the build to exit with code 1. Co-authored-by: Claude Opus 4.6 --- apps/ssr/tsdown.worker.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ssr/tsdown.worker.config.ts b/apps/ssr/tsdown.worker.config.ts index c6f6b1dc7..a3ce6d0b0 100644 --- a/apps/ssr/tsdown.worker.config.ts +++ b/apps/ssr/tsdown.worker.config.ts @@ -11,6 +11,7 @@ export default defineConfig({ format: ["esm"], external: ["node:*", /\.wasm$/], noExternal: ["**"], + inlineOnly: false, treeshake: true, splitting: false,