jsoncrack.com/next.config.js

27 lines
511 B
JavaScript
Raw Normal View History

2022-08-13 12:37:06 +03:00
// const withPWA = require("next-pwa");
// const pwaConfig = {
// pwa: {
// disable: true, // disable temp until issue #61 solved
// dest: "public",
// fallbacks: {
// document: "/editor",
// },
// },
// };
2022-04-27 14:00:47 +03:00
2022-04-27 13:56:24 +03:00
/**
* @type {import('next').NextConfig}
*/
2022-04-27 14:00:47 +03:00
const nextConfig = {
2022-04-16 12:36:58 +03:00
reactStrictMode: true,
2022-08-13 12:37:06 +03:00
exportPathMap: async () => ({
2022-08-09 16:54:59 +03:00
"/": { page: "/" },
2022-08-09 17:03:35 +03:00
"/editor": { page: "/Editor" },
"/widget": { page: "/Widget" },
2022-02-03 19:56:16 +03:00
}),
2022-08-13 12:37:06 +03:00
//...pwaConfig,
2022-04-27 13:56:24 +03:00
};
2022-04-27 14:00:47 +03:00
2022-08-13 12:37:06 +03:00
module.exports = nextConfig;