16 lines
306 B
JavaScript
16 lines
306 B
JavaScript
import withPWAInit from 'next-pwa';
|
|
|
|
const withPWA = withPWAInit({
|
|
dest: 'public',
|
|
disable: process.env.NODE_ENV === 'development',
|
|
register: true,
|
|
skipWaiting: true,
|
|
});
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
};
|
|
|
|
export default withPWA(nextConfig);
|