Skip to content

Commit 30d8951

Browse files
committed
ok real fix
1 parent 2e9d601 commit 30d8951

File tree

1 file changed

+4
-2
lines changed
  • packages/kit/src/core/sync/create_manifest_data

1 file changed

+4
-2
lines changed

packages/kit/src/core/sync/create_manifest_data/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,6 @@ function create_routes_and_nodes(cwd, config, fallback) {
423423
for (const route of routes) {
424424
if (!route.leaf) continue;
425425

426-
node_analyser.get_page_options(route.leaf);
427-
428426
route.page = {
429427
layouts: [],
430428
errors: [],
@@ -470,6 +468,10 @@ function create_routes_and_nodes(cwd, config, fallback) {
470468
node.page_options = node_analyser.get_page_options(node);
471469
}
472470

471+
for (const route of routes) {
472+
if (route.leaf) route.page_options = node_analyser.get_page_options(route.leaf);
473+
}
474+
473475
return {
474476
nodes,
475477
routes: sort_routes(routes)

0 commit comments

Comments
 (0)