import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; import tailwindcss from "@tailwindcss/vite"; import { VitePWA } from "vite-plugin-pwa"; export default defineConfig({ plugins: [ react(), tailwindcss(), VitePWA({ registerType: "autoUpdate", includeAssets: ["favicon.svg"], manifest: { name: "InflateHQ — Beach Party Balloons", short_name: "InflateHQ", description: "Review and approve Square invoices/transactions as calendar events", theme_color: "#fef6e4", background_color: "#fef6e4", display: "standalone", icons: [ { src: "pwa-192.png", sizes: "192x192", type: "image/png" }, { src: "pwa-512.png", sizes: "512x512", type: "image/png" }, ], }, }), ], server: { proxy: { "/api": "http://localhost:3000", }, }, });