pull/2963/head
Divyansh Singh 3 years ago
parent ba2434dbf3
commit cca915157e

@ -105,7 +105,7 @@ export function createContentLoader<T = ContentData[]>(
if (!files) {
// the loader is being called directly, do a fresh glob
files = (
await glob(['**.md'], {
await glob(pattern, {
cwd: config.srcDir,
ignore: ['**/node_modules/**', '**/dist/**', ...config.srcExclude]
})

Loading…
Cancel
Save