SPB Git

spb/zyquo-cloud-web

Public MIT

Zyquo Cloud Web — every cloud model, one beautiful chat, entirely in your browser.

1.4 KB · 52 lines typescript
1/*2 *  vite.config.ts3 *  Zyquo Cloud Web4 *5 *  Author: Simon-Pierre Boucher6 *  Mail: contact@spboucher.ai7 */89import { defineConfig } from 'vite'10import react from '@vitejs/plugin-react'11import { VitePWA } from 'vite-plugin-pwa'1213export default defineConfig({14  plugins: [15    react(),16    VitePWA({17      registerType: 'autoUpdate',18      // The service worker caches the app shell only — NEVER provider API19      // responses or anything containing keys/conversation content.20      workbox: {21        globPatterns: ['**/*.{js,css,html,svg,png,woff2,webmanifest}'],22        navigateFallback: 'index.html',23        runtimeCaching: [],24      },25      manifest: {26        name: 'Zyquo Cloud',27        short_name: 'Zyquo Cloud',28        description:29          'Multi-provider AI chat that lives entirely in your browser — your keys, your history, no backend.',30        start_url: '/',31        display: 'standalone',32        background_color: '#FAFBFD',33        theme_color: '#FAFBFD',34        icons: [35          { src: '/icons/icon-192.png', sizes: '192x192', type: 'image/png' },36          { src: '/icons/icon-512.png', sizes: '512x512', type: 'image/png' },37          {38            src: '/icons/icon-512-maskable.png',39            sizes: '512x512',40            type: 'image/png',41            purpose: 'maskable',42          },43        ],44      },45    }),46  ],47  build: {48    target: 'es2022',49    sourcemap: false,50  },51})52
Files · 72bdedcb5dd9a0b5836e51123d137cdeed8724d7
Menu

Theme