Ingests Square invoices/payments, extracts event scheduling from order notes, and pushes approved entries to a CalDAV calendar after human review. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
33 lines
895 B
TypeScript
33 lines
895 B
TypeScript
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",
|
|
},
|
|
},
|
|
});
|