|
@@ -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: {
|