Skip to content

jacob-ebey/vite-plugins

Repository files navigation

vite-plugins

A collection of Vite plugins that I've created and use. Hope they help you out!

Plugins

A vite plugin that enables local development of Cloudflare Workers using Vite.

A vite plugin that enables server environments to import asset URLs from the browser environment.

Examples

  • Cloudflare D1 - A simple example of using the @jacob-ebey/vite-cloudflare-plugin to develop a Cloudflare Worker locally with D1 bindings.
  • Cloudflare Durable Object WebSocket - An example of using the @jacob-ebey/vite-cloudflare-plugin to develop a Cloudflare Worker locally with Durable Object bindings and WebSockets.
  • Cloudflare Hono - An example of using the @jacob-ebey/vite-cloudflare-plugin to develop a Cloudflare Worker locally with Hono.
  • Cloudflare Origin Server - An example of using the @jacob-ebey/vite-cloudflare-plugin to develop a Cloudflare Worker locally with passthrough to a Node.js origin server.
  • Cloudflare R2 - An example of using the @jacob-ebey/vite-cloudflare-plugin to develop a Cloudflare Worker locally with R2 bindings.
  • React Bridge Assets - An example of using the @jacob-ebey/vite-cloudflare-plugin and @jacob-ebey/vite-bridged-assets-plugin to develop a Cloudflare Worker with React.
  • React Router - An example of using the @jacob-ebey/vite-cloudflare-plugin to develop a Cloudflare Worker and DurableObject with React Router.

Releases

No releases published

Packages

No packages published