Files
falah-mobile/next.config.ts
T

14 lines
318 B
TypeScript
Raw Normal View History

import type { NextConfig } from 'next'
import withSerwistInit from '@serwist/next'
const withSerwist = withSerwistInit({
swSrc: 'src/sw.ts',
swDest: 'public/sw.js',
})
const nextConfig: NextConfig = {
output: process.env.NETLIFY === 'true' ? undefined : 'standalone',
}
export default withSerwist(nextConfig)