next.config.js 511 B

1234567891011121314151617181920212223242526
  1. // const withPWA = require("next-pwa");
  2. // const pwaConfig = {
  3. // pwa: {
  4. // disable: true, // disable temp until issue #61 solved
  5. // dest: "public",
  6. // fallbacks: {
  7. // document: "/editor",
  8. // },
  9. // },
  10. // };
  11. /**
  12. * @type {import('next').NextConfig}
  13. */
  14. const nextConfig = {
  15. reactStrictMode: true,
  16. exportPathMap: async () => ({
  17. "/": { page: "/" },
  18. "/editor": { page: "/Editor" },
  19. "/widget": { page: "/Widget" },
  20. }),
  21. //...pwaConfig,
  22. };
  23. module.exports = nextConfig;