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
parent 81c5b9f2e0
commit a491a82b58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ export default defineConfig({
format: ["esm"],
external: ["node:*", /\.wasm$/],
noExternal: ["**"],
inlineOnly: false,
treeshake: true,
splitting: false,