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 <noreply@anthropic.com>
This commit is contained in:
DIYgod
2026-02-22 21:04:33 +08:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 81c5b9f2e0
commit a491a82b58
+1
View File
@@ -11,6 +11,7 @@ export default defineConfig({
format: ["esm"],
external: ["node:*", /\.wasm$/],
noExternal: ["**"],
inlineOnly: false,
treeshake: true,
splitting: false,