Skip to content

feat(cloudflare): warn about excessive Worker module counts - #5214

Draft
SHANNWD wants to merge 2 commits into
nitrojs:mainfrom
SHANNWD:feat/cloudflare-module-count-warning-5149
Draft

SHANNWD wants to merge 2 commits into
nitrojs:mainfrom
SHANNWD:feat/cloudflare-module-count-warning-5149

Conversation

@SHANNWD

@SHANNWD SHANNWD commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Addresses #5149. Warns when Cloudflare Worker output contains at least 5,000 JavaScript modules, including the largest module directory and consolidation guidance. Static-only builds are unaffected.

Draft: formatting, type checks and regression tests remain unrun. The threshold is a heuristic from the issue, not a documented platform guarantee.

Prepared with AI assistance.

@vercel

vercel Bot commented Dec 5, 2026

Copy link
Copy Markdown

@SHANNWD is attempting to deploy a commit to the Nitro Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@pkg-pr-new

pkg-pr-new Bot commented Dec 5, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/nitro@5214

commit: 1d7292f

This branch has not been deployed

No deployments
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