From acc83401f4880ee711ffa0d4ba9cb2096dc6d893 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Thu, 2 Apr 2026 22:02:31 +0200 Subject: [PATCH] feat: disable static manifest generation, add manual manifest link for dynamic serving --- apps/main/index.html | 1 + apps/main/vite.config.ts | 29 +---------------------------- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/apps/main/index.html b/apps/main/index.html index 45b070d..84577b1 100644 --- a/apps/main/index.html +++ b/apps/main/index.html @@ -5,6 +5,7 @@ + diff --git a/apps/main/vite.config.ts b/apps/main/vite.config.ts index 543aed9..87270d7 100644 --- a/apps/main/vite.config.ts +++ b/apps/main/vite.config.ts @@ -26,34 +26,7 @@ export default defineConfig(({ mode }) => { "logo_dark.png", "logo_white.png", ], - manifest: { - name: mode === "staging" ? "XTablo (Staging)" : "XTablo", - short_name: "XTablo", - description: "Collaborative project management for construction teams", - start_url: "/", - display: "standalone", - orientation: "any", - theme_color: "#1e1b2e", - background_color: "#1e1b2e", - icons: [ - { - src: "pwa-icons/pwa-192x192.png", - sizes: "192x192", - type: "image/png", - }, - { - src: "pwa-icons/pwa-512x512.png", - sizes: "512x512", - type: "image/png", - }, - { - src: "pwa-icons/pwa-512x512-maskable.png", - sizes: "512x512", - type: "image/png", - purpose: "maskable", - }, - ], - }, + manifest: false, workbox: { globPatterns: ["**/*.{js,css,html,ico,png,jpg,svg,woff,woff2}"], globIgnores: ["**/*.map"],