feat: support overriding page routes (#57)

This commit is contained in:
Luca Casonato
2021-09-25 11:27:16 +02:00
committed by GitHub
parent 70224610f9
commit a25ec7109c
6 changed files with 48 additions and 10 deletions
+8 -6
View File
@@ -5,18 +5,20 @@
import * as $0 from "./pages/index.tsx";
import * as $1 from "./pages/static.tsx";
import * as $2 from "./pages/props/[id].tsx";
import * as $3 from "./pages/api/get_only.ts";
import * as $4 from "./pages/intercept.tsx";
import * as $5 from "./pages/[name].tsx";
import * as $3 from "./pages/books/[id].tsx";
import * as $4 from "./pages/api/get_only.ts";
import * as $5 from "./pages/intercept.tsx";
import * as $6 from "./pages/[name].tsx";
const routes = {
pages: {
"./pages/index.tsx": $0,
"./pages/static.tsx": $1,
"./pages/props/[id].tsx": $2,
"./pages/api/get_only.ts": $3,
"./pages/intercept.tsx": $4,
"./pages/[name].tsx": $5,
"./pages/books/[id].tsx": $3,
"./pages/api/get_only.ts": $4,
"./pages/intercept.tsx": $5,
"./pages/[name].tsx": $6,
},
baseUrl: import.meta.url,
};