svgl/next.config.js

13 lines
265 B
JavaScript
Raw Normal View History

/** @type {import('next').NextConfig} */
2022-06-21 22:17:47 +08:00
const withPWA = require("next-pwa");
2022-04-11 01:42:18 +08:00
2022-06-21 22:17:47 +08:00
module.exports = withPWA({
reactStrictMode: true,
pwa: {
dest: "public",
register: true,
skipWaiting: true,
disable: process.env.NODE_ENV === "development",
},
});