mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-18 21:45:12 +00:00
identify leaf index.html components
This commit is contained in:
@@ -127,7 +127,7 @@ export default function create_routes(cwd = locations.routes()) {
|
|||||||
return fs.existsSync(path.join(dir, item.basename, 'index.html'));
|
return fs.existsSync(path.join(dir, item.basename, 'index.html'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return item.is_page;
|
return other_item.is_page;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!is_branch) {
|
if (!is_branch) {
|
||||||
|
|||||||
Reference in New Issue
Block a user