mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
23 lines
443 B
JavaScript
23 lines
443 B
JavaScript
const withTM = require("next-transpile-modules")(["reaflow"]);
|
|
|
|
const nextConfig = withTM({
|
|
reactStrictMode: true,
|
|
exportPathMap: () => ({
|
|
"/": { page: "/" },
|
|
"/editor": { page: "/editor" },
|
|
}),
|
|
experimental: {
|
|
esmExternals: "loose",
|
|
outputStandalone: true,
|
|
},
|
|
compiler: {
|
|
styledComponents: true,
|
|
swcMinify: true,
|
|
removeConsole: {
|
|
exclude: ["error"],
|
|
},
|
|
},
|
|
});
|
|
|
|
module.exports = nextConfig;
|