Astro Glob Loader Config Generator

What kind of content do you want to load?
Should files starting with an underscore be excluded?

Generated configuration:

src/content.config.ts
import { glob } from 'astro/loaders';
import { defineCollection } from 'astro:content';
const items = defineCollection({
loader: glob({
pattern: '**/[^_]*.md',
base: 'src/data/items',
}),
});
export const collections = { items };

Additional resources: