Skip to content

fix(ssr): disable tsdown inlineOnly check for worker build#4870

Merged
DIYgod merged 1 commit intodevfrom
fix/cloudflare-worker-build
Feb 22, 2026
Merged

fix(ssr): disable tsdown inlineOnly check for worker build#4870
DIYgod merged 1 commit intodevfrom
fix/cloudflare-worker-build

Conversation

@DIYgod
Copy link
Member

@DIYgod DIYgod commented Feb 22, 2026

Summary

  • Fix Cloudflare Workers deploy CI failing with exit code 1
  • The worker build intentionally bundles all dependencies (noExternal: ["**"]) for Cloudflare Workers, but tsdown v0.20.3 treats bundled dependencies as an error by default
  • Set inlineOnly: false in tsdown.worker.config.ts to suppress this check

Test plan

  • Verify deploy-cloudflare workflow passes on this branch
  • Verify worker deployment still works correctly

🤖 Generated with Claude Code

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>
@safedep
Copy link

safedep bot commented Feb 22, 2026

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

This report is generated by SafeDep Github App

@DIYgod DIYgod merged commit a491a82 into dev Feb 22, 2026
7 of 8 checks passed
@DIYgod DIYgod deleted the fix/cloudflare-worker-build branch February 22, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant