vite-plugin-cloudflare-workers
See original GitHub issuevite-plugin-ssr already supports Cloudflare Workers https://vite-plugin-ssr.com/cloudflare-workers but it would be lovely to have a vite-plugin-cloudflare-workers
so that the entire Vite ecosystem can benefit.
Discussoin about this: https://discord.com/channels/815937377888632913/815937377888632916/915547793987350548
I’ve secured the npm package and I’m happy to give it away.
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Aslemammad/vite-plugin-cloudflare - GitHub
Vite -plugin-cloudflare is a plugin for transforming & bundling cloudflare workers with shimming modern node polyfills like process , os , stream and...
Read more >Cloudflare Workers - vite-plugin-ssr
Cloudflare Workers requires our entire worker code to be bundled into a single file. Cloudflare uses the term "worker code" to denote server...
Read more >vite-plugin-cloudflare-worker - npm
Generate a bundle that runs as a Cloudflare worker, then write it to disk and/or upload it directly to Cloudflare. The bundle is...
Read more >Deploy a Vite 3 project · Cloudflare Pages docs
Deploy a Vite 3 project · Log in to the Cloudflare dashboard Open external link and select your account. · Go to Pages...
Read more >Getting Started - Vitedge
This is possible today thanks to Cloudflare Workers, and maybe some other platforms in ... Import vitedge/plugin.js in your vite.config.js :.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done by @Aslemammad 💯 https://github.com/Aslemammad/vite-plugin-cloudflare
@Aslemammad
How about this plan?
vite-plugin-cloudflare/pages
andvite-plugin-cloudflare/workers
.About the plugin itself:
ssr: { noExternal: true }
.rollup-plugin-node-builtins
.wrangler publish
).