diff --git a/frontend/package.json b/frontend/package.json index 0720453..07e3992 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -25,7 +25,6 @@ "@types/react-plotly.js": "^2.6.4", "@vitejs/plugin-react": "^4.2.1", "typescript": "^5.4.5", - "vite": "^5.2.11", - "vite-plugin-pwa": "^1.3.0" + "vite": "^5.2.11" } } diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 81151e4..5c5c638 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -1,32 +1,7 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' -import { VitePWA } from 'vite-plugin-pwa' export default defineConfig({ base: '/forecasting/', - plugins: [ - react(), - VitePWA({ - registerType: 'autoUpdate', - manifest: { - name: 'Forecasting', - short_name: 'Forecast', - start_url: '/forecasting/', - scope: '/forecasting/', - display: 'standalone', - theme_color: '#0077b6', - background_color: '#0077b6', - icons: [ - { src: '/forecasting/icons/icon-192.png', sizes: '192x192', type: 'image/png' }, - { src: '/forecasting/icons/icon-512.png', sizes: '512x512', type: 'image/png' }, - ], - }, - workbox: { - navigateFallback: '/forecasting/index.html', - navigateFallbackDenylist: [/\/api\//], - globPatterns: ['**/*.{js,css,html,ico,png,svg}'], - maximumFileSizeToCacheInBytes: 8 * 1024 * 1024, - }, - }), - ], + plugins: [react()], })