svgl/next.config.js
2022-08-08 22:22:37 +01:00

15 lines
297 B
JavaScript

/** @type {import('next').NextConfig} */
const withPWA = require("next-pwa");
const nextConfig = withPWA({
reactStrictMode: true,
pwa: {
dest: "public",
register: true,
skipWaiting: true,
disable: process.env.NODE_ENV === "development",
},
});
module.exports = nextConfig;