jsoncrack.com/next.config.js
2022-04-17 10:23:47 +03:00

20 lines
389 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,
},
});
module.exports = nextConfig;