From 51bd31577e6e6d521e1ff674286a1fddee4423a3 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 16 Apr 2024 11:20:19 +0800 Subject: [PATCH] conf: workbox: skipWaiting default --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index d34fe93..69c5d7c 100644 --- a/vite.config.js +++ b/vite.config.js @@ -25,7 +25,7 @@ const manifestForPlugIn = { globPatterns: ['**/*.{json,css,js,html,ico,png,svg,woff2}'], maximumFileSizeToCacheInBytes: 3000000, clientsClaim: true, - skipWaiting: true, + // skipWaiting: true, runtimeCaching: [ { urlPattern: /^https:\/\/haina-sale-system\.oss-cn-shenzhen\.aliyuncs\.com\/.*/i,