mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
24 lines
405 B
JavaScript
24 lines
405 B
JavaScript
const withPWA = require("next-pwa");
|
|
|
|
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
swcMinify: true,
|
|
exportPathMap: () => ({
|
|
"/": { page: "/" },
|
|
"/editor": { page: "/editor" },
|
|
}),
|
|
compiler: {
|
|
styledComponents: true,
|
|
},
|
|
pwa: {
|
|
dest: "public",
|
|
register: true,
|
|
scope: "/editor",
|
|
},
|
|
};
|
|
|
|
module.exports = withPWA(nextConfig);
|