@ubean/devtools 0.6.8 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1604,7 +1604,7 @@ function buildDevToolsInfo(opts) {
|
|
|
1604
1604
|
filePath: makeFilePath(r.fullPath, r.relativePath, routesPrefix)
|
|
1605
1605
|
})) : [];
|
|
1606
1606
|
const defaultLayoutName = scan?.layouts.find((l) => l.isDefault)?.name;
|
|
1607
|
-
const pagesList = scan ? scan.pages.filter((p) =>
|
|
1607
|
+
const pagesList = scan ? scan.pages.filter((p) => (p.pageKind ?? "component") === "component").filter((p) => p.routable !== false).map((p) => ({
|
|
1608
1608
|
path: p.route,
|
|
1609
1609
|
name: p.name,
|
|
1610
1610
|
filePath: makeFilePath(p.fullPath, p.relativePath, pagesPrefix),
|