flarelabs-net / vite-environment-providers

1 stars 0 forks source link

Vite Environment Providers

Experimentations based on the experimental Vite Environment API being worked on for vite@6.0.0-alpha.x

Setup

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.

Monorepo Structure

[!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 uses packages/vite-environment-provider-cloudflare to server side render a Remix application in the Cloudflare environment.

Syncpack

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.

Credits & References