Skip to content

Commit

Permalink
fix: also crawl + files at root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Feb 11, 2025
1 parent b173629 commit 6247354
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function gitLsFiles(userRootDir: string, outDirRelativeFromUserRootDir: st
'ls-files',

// Performance gain seems negligible: https://github.com/vikejs/vike/pull/1688#issuecomment-2166206648
...scriptFileExtensionList.map((ext) => `"**/+*.${ext}"`),
...scriptFileExtensionList.map((ext) => `"**/+*.${ext}" "+*.${ext}"`),

// Performance gain is non-negligible.
// - https://github.com/vikejs/vike/pull/1688#issuecomment-2166206648
Expand Down

0 comments on commit 6247354

Please sign in to comment.