123456789101112131415161718192021 |
- const withPWA = require("next-pwa")({
- dest: "public",
- register: true,
- disable: process.env.NODE_ENV === "development",
- scope: "/editor",
- });
- /**
- * @type {import('next').NextConfig}
- */
- const nextConfig = {
- reactStrictMode: true,
- exportPathMap: async () => ({
- "/": { page: "/" },
- "/editor": { page: "/Editor" },
- "/widget": { page: "/Widget" },
- "/embed": { page: "/Embed" },
- }),
- };
- module.exports = withPWA(nextConfig);
|