mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
27 lines
511 B
JavaScript
27 lines
511 B
JavaScript
// const withPWA = require("next-pwa");
|
|
|
|
// const pwaConfig = {
|
|
// pwa: {
|
|
// disable: true, // disable temp until issue #61 solved
|
|
// dest: "public",
|
|
// fallbacks: {
|
|
// document: "/editor",
|
|
// },
|
|
// },
|
|
// };
|
|
|
|
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
exportPathMap: async () => ({
|
|
"/": { page: "/" },
|
|
"/editor": { page: "/Editor" },
|
|
"/widget": { page: "/Widget" },
|
|
}),
|
|
//...pwaConfig,
|
|
};
|
|
|
|
module.exports = nextConfig;
|