template: added cloudflare vite code template

This commit is contained in:
dswbx
2025-11-21 17:55:43 +01:00
parent 000f8d20a8
commit 5d6046b149
26 changed files with 9882 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { cloudflare } from "@cloudflare/vite-plugin";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [react(), tailwindcss(), cloudflare()],
build: {
minify: true,
},
resolve: {
dedupe: ["react", "react-dom"],
},
});