defaults.js 680 B

12345678910111213141516171819202122232425
  1. "use strict";
  2. /*
  3. Copyright 2018 Google LLC
  4. Use of this source code is governed by an MIT-style
  5. license that can be found in the LICENSE file or at
  6. https://opensource.org/licenses/MIT.
  7. */
  8. module.exports = {
  9. cleanupOutdatedCaches: false,
  10. clientsClaim: false,
  11. globFollow: true,
  12. globIgnores: ['**/node_modules/**/*'],
  13. globPatterns: ['**/*.{js,css,html}'],
  14. globStrict: true,
  15. importWorkboxFrom: 'cdn',
  16. injectionPointRegexp: /(precacheAndRoute\()\s*\[\s*\]\s*(\)|,)/,
  17. maximumFileSizeToCacheInBytes: 2 * 1024 * 1024,
  18. navigateFallback: undefined,
  19. navigationPreload: false,
  20. offlineGoogleAnalytics: false,
  21. purgeOnQuotaError: false,
  22. skipWaiting: false
  23. };