custom-service-worker.js 365 B

1234567891011
  1. /*
  2. * This file (which will be your service worker)
  3. * is picked up by the build system ONLY if
  4. * quasar.conf > pwa > workboxPluginMode is set to "InjectManifest"
  5. */
  6. import { precacheAndRoute } from 'workbox-precaching';
  7. // Use with precache injection
  8. // eslint-disable-next-line no-restricted-globals,no-underscore-dangle
  9. precacheAndRoute(self.__WB_MANIFEST);