cloudflare: enable fs with @cloudflare/vite-plugin (#239)

* init dev vite write plugin

* reorganized cf proxy, fixed dev write
This commit is contained in:
dswbx
2025-08-29 06:44:20 +02:00
committed by GitHub
parent 8f471a29b0
commit 9436b8bac5
7 changed files with 166 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ export {
export { constants } from "./config";
export { StorageR2Adapter, registerMedia } from "./storage/StorageR2Adapter";
export { registries } from "bknd";
export { withPlatformProxy } from "./proxy";
export { devFsPlugin, devFsWrite } from "./vite";
// for compatibility with old code
export function d1<DB extends D1Database | D1DatabaseSession = D1Database>(