Skip to content

Commit 36fcd53

Browse files
committed
disable service worker temporarily
1 parent c2ba092 commit 36fcd53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vite.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ViteYaml from '@modyfi/vite-plugin-yaml';
22
import react from '@vitejs/plugin-react';
33
import { defineConfig } from 'vite';
4-
import { VitePWA } from 'vite-plugin-pwa';
4+
// import { VitePWA } from 'vite-plugin-pwa';
55
import viteTsconfigPaths from 'vite-tsconfig-paths';
66

77
// https://vitejs.dev/config/
@@ -10,9 +10,9 @@ export default defineConfig({
1010
react(),
1111
viteTsconfigPaths(),
1212
ViteYaml(),
13-
VitePWA({
14-
registerType: 'autoUpdate',
15-
}),
13+
// VitePWA({
14+
// registerType: 'autoUpdate',
15+
// }),
1616
],
1717
build: {
1818
rollupOptions: {

0 commit comments

Comments
 (0)