Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

Commit f5bd3db

Browse files
committed
fix: disable pwa
1 parent f7b25c8 commit f5bd3db

1 file changed

Lines changed: 47 additions & 46 deletions

File tree

apps/web/vite.config.ts

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,58 @@
11
import path from 'path';
22
import react from '@vitejs/plugin-react-swc';
33
import { defineConfig } from 'vite';
4-
import { VitePWA } from 'vite-plugin-pwa';
4+
5+
// import { VitePWA } from 'vite-plugin-pwa';
56

67
// https://vite.dev/config/
78
export default defineConfig({
89
plugins: [
910
react(),
10-
VitePWA({
11-
registerType: 'autoUpdate',
12-
scope: '/',
13-
workbox: {
14-
cleanupOutdatedCaches: true,
15-
},
16-
manifest: {
17-
orientation: 'any',
18-
display: 'standalone',
19-
lang: 'en-US',
20-
name: 'NeuralLift AI',
21-
short_name: 'NeuralLift',
22-
start_url: '/',
23-
description: '24/7 Customer Support Powered by AI',
24-
background_color: '#ffffff',
25-
theme_color: '#ffffff',
26-
icons: [
27-
{
28-
src: 'pwa-64x64.png',
29-
sizes: '64x64',
30-
type: 'image/png',
31-
},
32-
{
33-
src: 'pwa-192x192.png',
34-
sizes: '192x192',
35-
type: 'image/png',
36-
},
37-
{
38-
src: 'pwa-512x512.png',
39-
sizes: '512x512',
40-
type: 'image/png',
41-
},
42-
{
43-
src: 'maskable-icon-512x512.png',
44-
sizes: '512x512',
45-
type: 'image/png',
46-
purpose: 'maskable',
47-
},
48-
],
49-
},
50-
injectRegister: 'auto',
51-
devOptions: {
52-
enabled: true,
53-
},
54-
}),
11+
// VitePWA({
12+
// registerType: 'autoUpdate',
13+
// scope: '/',
14+
// workbox: {
15+
// cleanupOutdatedCaches: true,
16+
// },
17+
// manifest: {
18+
// orientation: 'any',
19+
// display: 'standalone',
20+
// lang: 'en-US',
21+
// name: 'NeuralLift AI',
22+
// short_name: 'NeuralLift',
23+
// start_url: '/',
24+
// description: '24/7 Customer Support Powered by AI',
25+
// background_color: '#ffffff',
26+
// theme_color: '#ffffff',
27+
// icons: [
28+
// {
29+
// src: 'pwa-64x64.png',
30+
// sizes: '64x64',
31+
// type: 'image/png',
32+
// },
33+
// {
34+
// src: 'pwa-192x192.png',
35+
// sizes: '192x192',
36+
// type: 'image/png',
37+
// },
38+
// {
39+
// src: 'pwa-512x512.png',
40+
// sizes: '512x512',
41+
// type: 'image/png',
42+
// },
43+
// {
44+
// src: 'maskable-icon-512x512.png',
45+
// sizes: '512x512',
46+
// type: 'image/png',
47+
// purpose: 'maskable',
48+
// },
49+
// ],
50+
// },
51+
// injectRegister: 'auto',
52+
// devOptions: {
53+
// enabled: true,
54+
// },
55+
// }),
5556
],
5657
resolve: {
5758
alias: {

0 commit comments

Comments
 (0)