-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Support Cloudflare Workers #1
Labels
enhancement ✨
New feature or request
Comments
brillout
added a commit
that referenced
this issue
Apr 7, 2021
BREAKING CHANGE: `import ssr from 'vite-plugin-ssr'` now throws an error; use `import ssr from 'vite-plugin-ssr/plugin'` instead.
brillout
added a commit
that referenced
this issue
Apr 8, 2021
brillout
added a commit
that referenced
this issue
Apr 8, 2021
brillout
changed the title
How to use with Cloudflare Workers
Support Cloudflare Workers
Apr 8, 2021
brillout
added a commit
that referenced
this issue
Apr 10, 2021
brillout
added a commit
that referenced
this issue
Apr 10, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In principle,
vite-pluign-ssr
can be used with Cloudflare Workers; there are no hard dependencies on Node.js APIs.If I remember correctly, a Cloudlare Worker is defined as a single JS file, which means that the entire runtime needs to be bundled in a single file. Super neat would be a
vite-plugin-cloudflare
that does this and which is compatible withvite-plugin-ssr
.cc @schickling
The text was updated successfully, but these errors were encountered: