next.config.js 290 B

12345678910111213
  1. const isProd = process.env.NODE_ENV === "production";
  2. /** @type {import('next').NextConfig} */
  3. const nextConfig = {
  4. exportPathMap: () => ({
  5. '/': { page: '/' },
  6. '/editor': { page: '/editor' },
  7. }),
  8. reactStrictMode: true,
  9. trailingSlash: true,
  10. };
  11. module.exports = nextConfig;