Skip to content

Commit 8957f7d

Browse files
Merge pull request #21 from tashian/nested-routes
feat: anticipate nested routes in the manifest.json
2 parents 87f045b + 8a81976 commit 8957f7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/docs.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ export function getPaths(nextRoutes, options, carry = []) {
8181
)
8282
}
8383
carry.push(removeFromLast(path, extension))
84-
} else if (routes) {
84+
}
85+
if (routes) {
8586
getPaths(routes, options, carry)
8687
}
8788
})

0 commit comments

Comments
 (0)