Skip to content
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

fix(cloudflare): solid ssr #264

Closed
wants to merge 3 commits into from
Closed

fix(cloudflare): solid ssr #264

wants to merge 3 commits into from

Conversation

alexanderniebuhr
Copy link
Member

Changes

Testing

  • existing tests

Docs

  • bug fix of expected bahavior

Copy link

changeset-bot bot commented May 17, 2024

🦋 Changeset detected

Latest commit: fef4e90

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@astrojs/cloudflare Patch
@test/astro-cloudflare-astro-dev-platform Patch
@test/astro-cloudflare-external-image-service Patch
@test/astro-cloudflare-no-output Patch
@test/astro-cloudflare-prerender-optimizations Patch
@test/astro-cloudflare-routes-json Patch
@test/astro-cloudflare-wasm Patch
@test/astro-cloudflare-with-solid-js Patch
@test/astro-cloudflare-wrangler-preview-platform Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment on lines +238 to +239
// https://github.com/solidjs/vite-plugin-solid/issues/153
vite.resolve.mainFields = ['module'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should do this. It would break many other packages too that currently relies on the default mainFields configuration. I think solid should be fixing this itself: https://publint.dev/[email protected]

@alexanderniebuhr alexanderniebuhr deleted the fix-solid branch August 6, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cloudflare v10 + Solid breaks some components and scripts Cloudflare + Solid-js hydration / build errors.
2 participants