fix: remove service worker (#654)
This commit is contained in:
+11
-11
@@ -17,17 +17,17 @@ try {
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
react(),
|
react(),
|
||||||
VitePWA({
|
// VitePWA({
|
||||||
registerType: "autoUpdate",
|
// registerType: "autoUpdate",
|
||||||
strategies: "generateSW",
|
// strategies: "generateSW",
|
||||||
devOptions: {
|
// devOptions: {
|
||||||
enabled: false,
|
// enabled: true,
|
||||||
},
|
// },
|
||||||
workbox: {
|
// workbox: {
|
||||||
cleanupOutdatedCaches: true,
|
// cleanupOutdatedCaches: true,
|
||||||
sourcemap: true,
|
// sourcemap: true,
|
||||||
},
|
// },
|
||||||
}),
|
// }),
|
||||||
viteStaticCopy({
|
viteStaticCopy({
|
||||||
targets: [
|
targets: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user