text: // eslint-disable-next-line @typescript-eslint/no-var-requires
  const withPWA = require('next-pwa')
  const isProd = process.env.NODE_ENV === 'production'
  
  module.exports = withPWA({
    pwa: {
      dest: 'public',
      disable: !isProd
    }
  })
  
  module.exports = {
    images: {
      deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
      imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
      domains: ['via.placeholder.com', 'static.wixstatic.com']
    },
    trailingSlash: true
  }
  