[!WARNING] This repository has been archived in favour of https://github.com/flarelabs-net/vite-plugin-cloudflare
Experimentations based on the experimental Vite Environment API being worked on for vite@6.0.0-alpha.x
Simply run:
$ pnpm i
to install all the dependencies and build all the packages in this repository, there you can cd
in any of the examples and run their development scripts.
packages
Basically contains plugins that using the Vite Environment API allow to run code in Alternative JS Runtimes
examples
Contains examples of usages of the above mentioned runtime packages
[!NOTE] All the packages and examples have their own README files explaining the package/example
[!NOTE] The most important example currently here is
remix-app-cloudflare
which usespackages/vite-environment-provider-cloudflare
to server side render a Remix application in the Cloudflare environment.
Syncpack can be used to find and fix dependency version mismatches. The most useful commands are pnpm syncpack list-mismatches
and pnpm syncpack fix-mismatches
.