defaults.js 866 B

1234567891011121314151617181920212223242526272829303132
  1. "use strict";
  2. /*
  3. Copyright 2019 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. babelPresetEnvTargets: ['chrome >= 56'],
  10. cleanupOutdatedCaches: false,
  11. clientsClaim: false,
  12. compileSrc: true,
  13. disableDevLogs: false,
  14. exclude: [/\.map$/, /^manifest.*\.js$/],
  15. globFollow: true,
  16. globIgnores: ['**/node_modules/**/*'],
  17. globPatterns: ['**/*.{js,css,html}'],
  18. globStrict: true,
  19. injectionPoint: 'self.__WB_MANIFEST',
  20. inlineWorkboxRuntime: false,
  21. maximumFileSizeToCacheInBytes: 2 * 1024 * 1024,
  22. mode: 'production',
  23. navigateFallback: undefined,
  24. navigationPreload: false,
  25. offlineGoogleAnalytics: false,
  26. purgeOnQuotaError: true,
  27. skipWaiting: false,
  28. sourcemap: true,
  29. swDestFilename: 'service-worker.js'
  30. };