mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-16 04:44:35 +00:00
get tests passing
This commit is contained in:
@@ -23,6 +23,7 @@ export default function create_routes({ files } = { files: glob.sync('**/*.*', {
|
||||
parts
|
||||
};
|
||||
})
|
||||
.filter(Boolean)
|
||||
.filter((a, index, array) => {
|
||||
const found = array.slice(index + 1).find(b => a.base === b.base);
|
||||
if (found) found.files.push(...a.files);
|
||||
|
||||
Reference in New Issue
Block a user