update config

This commit is contained in:
AykutSarac 2022-04-16 12:36:58 +03:00
parent b3e01e98d3
commit 1cf090805b

View File

@ -1,16 +1,21 @@
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"],
},
},
});