Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
ascorbic and sarah11918 authored Sep 9, 2024
1 parent c1be085 commit e30c3ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .changeset/honest-dingos-add.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
'astro': patch
---

Adds support for array patterns in glob loader
Adds support for array patterns in the built-in `glob()` content collections loader

The glob loader can now accept an array of multiple patterns as well as string patterns. This allows you to more easily combine multiple patterns into a single collection, but also means you can use negative matches to exclude files from the collection.
The glob loader can now accept an array of multiple patterns as well as string patterns. This allows you to more easily combine multiple patterns into a single collection, and also means you can use negative matches to exclude files from the collection.

```ts
const probes = defineCollection({
Expand Down

0 comments on commit e30c3ce

Please sign in to comment.