1234567891011121314151617181920212223 |
- const withPWA = require("next-pwa");
- /**
- * @type {import('next').NextConfig}
- */
- const nextConfig = {
- reactStrictMode: true,
- swcMinify: true,
- exportPathMap: () => ({
- "/": { page: "/" },
- "/editor": { page: "/editor" },
- }),
- compiler: {
- styledComponents: true,
- },
- pwa: {
- dest: "public",
- register: true,
- skipWaiting: true,
- },
- };
- module.exports = withPWA(nextConfig);
|