mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
21 lines
417 B
JavaScript
21 lines
417 B
JavaScript
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" },
|
|
}),
|
|
};
|
|
|
|
module.exports = withPWA(nextConfig);
|