Skip to content

Commit a491a82

Browse files
DIYgodclaude
andauthored
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>
1 parent 81c5b9f commit a491a82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/ssr/tsdown.worker.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default defineConfig({
1111
format: ["esm"],
1212
external: ["node:*", /\.wasm$/],
1313
noExternal: ["**"],
14+
inlineOnly: false,
1415
treeshake: true,
1516
splitting: false,
1617

0 commit comments

Comments
 (0)