Explorar o código

update config

AykutSarac %!s(int64=2) %!d(string=hai) anos
pai
achega
f81f7df64e
Modificáronse 1 ficheiros con 3 adicións e 7 borrados
  1. 3 7
      next.config.js

+ 3 - 7
next.config.js

@@ -6,15 +6,11 @@ const withPWA = require("next-pwa");
 const nextConfig = {
   reactStrictMode: true,
   exportPathMap: () => ({
-    "/": { page: "/" },
-    "/editor": { page: "/Editor" },
-    "/widget": { page: "/Widget" },
+    "/": { page: "/Home" },
+    "/editor": { page: "/Editor", query: { title: "json" } },
+    "/widget": { page: "/Widget", query: { title: "json" } },
   }),
-  compiler: {
-    styledComponents: true,
-  },
   pwa: {
-    // disable: process.env.NODE_ENV === "development",
     disable: true, // disable temp until issue #61 solved
     dest: "public",
     fallbacks: {