⚒️ Fix next.config.

This commit is contained in:
pheralb 2022-08-08 22:22:37 +01:00
parent f5126fd4ed
commit b13cf32cf7

View File

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