text: module.exports = {
    disable: process.env.NODE_ENV === 'development',
    dest: 'public',
    register: true,
    scope: '/',
    sw: 'service-worker.js',
    buildExcludes: ['/robots.txt', '/sitemap.xml', '/google254ec9b78a3c3c38.html', /\/images\/.*$/],
    runtimeCaching: [
      {
        urlPattern: /.(png|jpg|jpeg|webp|svg|woff|woff2)$/,
        handler: 'CacheFirst',
        options: {
          cacheName: 'assets',
          expiration: {
            maxEntries: 200
          }
        }
      },
      {
        urlPattern: /.(js|css)$/,
        handler: 'StaleWhileRevalidate',
        options: {
          cacheName: 'js-css',
          expiration: {
            maxEntries: 200
          }
        }
      }
    ]
  }
  