AykutSarac 3 rokov pred
rodič
commit
1cf090805b
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      next.config.js

+ 5 - 0
next.config.js

@@ -1,16 +1,21 @@
 const withTM = require("next-transpile-modules")(["reaflow"]);
 const withTM = require("next-transpile-modules")(["reaflow"]);
 
 
 const nextConfig = withTM({
 const nextConfig = withTM({
+  reactStrictMode: true,
   exportPathMap: () => ({
   exportPathMap: () => ({
     "/": { page: "/" },
     "/": { page: "/" },
     "/editor": { page: "/editor" },
     "/editor": { page: "/editor" },
   }),
   }),
   experimental: {
   experimental: {
     esmExternals: "loose",
     esmExternals: "loose",
+    outputStandalone: true,
   },
   },
   compiler: {
   compiler: {
     styledComponents: true,
     styledComponents: true,
     swcMinify: true,
     swcMinify: true,
+    removeConsole: {
+      exclude: ["error"],
+    },
   },
   },
 });
 });