Skip to content

Commit 723a69d

Browse files
committed
exclude posts from prerender
1 parent b4b41dd commit 723a69d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

e2e/react-start/custom-basepath/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ const prerenderConfiguration = {
1010
filter: (page: { path: string }) => {
1111
return ![
1212
'/i-do-not-exist',
13-
'/this-route-does-not-exist',
13+
'/posts',
1414
'/redirect',
15+
'/this-route-does-not-exist',
1516
'/users',
1617
].some((p) => page.path.includes(p))
1718
},

e2e/solid-start/custom-basepath/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ const prerenderConfiguration = {
1010
filter: (page: { path: string }) => {
1111
return ![
1212
'/i-do-not-exist',
13-
'/this-route-does-not-exist',
13+
'/posts',
1414
'/redirect',
15+
'/this-route-does-not-exist',
1516
'/users',
1617
].some((p) => page.path.includes(p))
1718
},

e2e/vue-start/custom-basepath/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ const prerenderConfiguration = {
1111
filter: (page: { path: string }) => {
1212
return ![
1313
'/i-do-not-exist',
14-
'/this-route-does-not-exist',
14+
'/posts',
1515
'/redirect',
16+
'/this-route-does-not-exist',
1617
'/users',
1718
].some((p) => page.path.includes(p))
1819
},

0 commit comments

Comments
 (0)