diff --git a/package.json b/package.json index d55eae36..d5f5b127 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "ts-jest": "27.0.4", "typescript": "4.3.5", "vite": "2.4.4", - "vite-plugin-pwa": "0.9.3", + "vite-plugin-pwa": "0.10.0", "vite-plugin-vue2": "1.7.3", "vue-flatpickr-component": "8.1.7", "vue-notification": "1.3.20", diff --git a/src/sw.js b/src/sw.js index 1b5f876f..05f49b0f 100644 --- a/src/sw.js +++ b/src/sw.js @@ -1,8 +1,8 @@ /* eslint-disable no-console */ /* eslint-disable no-undef */ -importScripts( '/workbox-v6.1.5/workbox-sw.js') -workbox.setConfig({modulePathPrefix: '/workbox-v6.1.5'}) +importScripts( '/workbox-v6.2.2/workbox-sw.js') +workbox.setConfig({modulePathPrefix: '/workbox-v6.2.2'}) import { precacheAndRoute } from 'workbox-precaching' precacheAndRoute(self.__WB_MANIFEST) diff --git a/yarn.lock b/yarn.lock index cdf1055c..f0d857f8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8095,10 +8095,10 @@ verte@0.0.12: dependencies: color-fns "^0.0.10" -vite-plugin-pwa@0.9.3: - version "0.9.3" - resolved "https://registry.yarnpkg.com/vite-plugin-pwa/-/vite-plugin-pwa-0.9.3.tgz#3c03df1e7b8c9a6406882b2f475d3920fecd2da9" - integrity sha512-o7UD6zMssH60dblwcTKqPeESlv1iF6tPQq2dx2N9smYMh5e5A6rlwWivV4fN8Nq2PVj82itcGRycIHDT+j32vg== +vite-plugin-pwa@0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/vite-plugin-pwa/-/vite-plugin-pwa-0.10.0.tgz#56ea6c19b696c8901736aac97f9f316d3090a7c3" + integrity sha512-QTI2OshRFR46JFS3KLVXXdIyhy+eO5pO3ezbeIXRAMNlUPJuB/r5sXhpRUGRZIkbrIq+UwSULNsCaNo8Ux5ZqA== dependencies: debug "^4.3.2" fast-glob "^3.2.7"