jsoncrack.com/next.config.js
2022-04-16 12:36:58 +03:00

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;