Skip to content

Commit af8e650

Browse files
Revert "Seed routes for prerendering" (#1327)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 5653e98 commit af8e650

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

app.config.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@ import solidrouterTree from "./.solid/solid-router-tree";
1111
import solidStartTree from "./.solid/solid-start-tree";
1212
import solidMetaTree from "./.solid/solid-meta-tree";
1313

14-
const allEntries = [
15-
entries.learn, entries.reference,
16-
solidstartEntries.learn, solidstartEntries.reference,
17-
solidrouterEntries.learn, solidrouterEntries.reference,
18-
solidMetaEntries.learn, solidMetaEntries.reference,
19-
].flat(Infinity).map(x =>
20-
// @ts-expect-error `flat` mess up the type and I have no idea how to fix this
21-
x.path.replace(/\\/g, "/")
22-
);
23-
2414
function docsData() {
2515
const virtualModuleId = "solid:collection";
2616
const resolveVirtualModuleId = "\0" + virtualModuleId;
@@ -63,7 +53,6 @@ export default defineConfig(
6353
crawlLinks: true,
6454
autoSubfolderIndex: false,
6555
failOnError: true,
66-
routes: allEntries,
6756
// eslint-disable-next-line no-useless-escape
6857
ignore: [/\{\getPath}/, /.*?emojiSvg\(.*/],
6958
},

0 commit comments

Comments
 (0)