From 036a875bb864e6a2501508c8c88933e36248bd96 Mon Sep 17 00:00:00 2001 From: Dicken Date: Mon, 25 May 2026 15:54:55 +0200 Subject: [PATCH] =?UTF-8?q?frontend/vite.config.js=20gel=C3=B6scht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/vite.config.js | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 frontend/vite.config.js diff --git a/frontend/vite.config.js b/frontend/vite.config.js deleted file mode 100644 index e89731d..0000000 --- a/frontend/vite.config.js +++ /dev/null @@ -1,37 +0,0 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' -import { VitePWA } from 'vite-plugin-pwa' - -export default defineConfig({ - plugins: [ - react(), - VitePWA({ - registerType: 'autoUpdate', - includeAssets: ['icon.svg', 'icon-192.png', 'icon-512.png'], - manifest: { - name: 'Dicken Dock', - short_name: 'DickenDock', - description: 'Dein modulares Tool-Dashboard', - theme_color: '#0d0d0f', - background_color: '#0d0d0f', - display: 'standalone', - orientation: 'portrait', - start_url: '/', - icons: [ - { src: '/icon-192.png', sizes: '192x192', type: 'image/png' }, - { src: '/icon-512.png', sizes: '512x512', type: 'image/png' }, - { src: '/icon-512.png', sizes: '512x512', type: 'image/png', purpose: 'maskable' } - ] - }, - workbox: { - globPatterns: ['**/*.{js,css,html,svg,png}'], - runtimeCaching: [{ - urlPattern: /^\/api\/.*/i, - handler: 'NetworkFirst', - options: { cacheName: 'api-cache', networkTimeoutSeconds: 10 } - }] - } - }) - ], - server: { proxy: { '/api': 'http://localhost:4000' } }, -})