mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
24 lines
406 B
JavaScript
24 lines
406 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,
|
|
skipWaiting: true,
|
|
},
|
|
};
|
|
|
|
module.exports = withPWA(nextConfig);
|