Skip to content

fix: Exclude cloudflare builtins from SSR environment #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 9, 2025

Conversation

justinvdm
Copy link
Collaborator

@justinvdm justinvdm commented Jun 9, 2025

Excludes modules such as cloudflare:email in SSR environment's optimizeDeps config.

@cloudflare/vite-plugin already does this for the worker environment, but we also need to do this for the new SSR environment we've defined since the 0.1.0-alpha builds.

Fixes #503

Copy link

Deploying redwood-sdk-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 44c90da
Status: ✅  Deploy successful!
Preview URL: https://713b9283.redwood-sdk-docs.pages.dev
Branch Preview URL: https://exclude-cloudflare-builtins.redwood-sdk-docs.pages.dev

View logs

@justinvdm justinvdm merged commit a719ff1 into main Jun 9, 2025
5 checks passed
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.

Cloudflare Email - Development: Unresolved dependency cloudflare:email
1 participant