diff options
author | 2023-05-30 16:27:47 -0400 | |
---|---|---|
committer | 2023-05-30 16:27:47 -0400 | |
commit | f5063d0a01e3179da902fdc0a2b22f88cb3c95c7 (patch) | |
tree | ef60e1182a41959d11b7924191f6110cf8abdf6b /.changeset | |
parent | 8da07ab754af11c053e91144b313e22f11450690 (diff) | |
download | astro-f5063d0a01e3179da902fdc0a2b22f88cb3c95c7.tar.gz astro-f5063d0a01e3179da902fdc0a2b22f88cb3c95c7.tar.zst astro-f5063d0a01e3179da902fdc0a2b22f88cb3c95c7.zip |
Content collections - fix `.json` collection errors (#7246)
* fix: avoid error on collectionType === 'unknown'
* fix: ignore underscores in file globs
* chore: clarify [!_]
* fix: mismatch error not throwing
* fix: bad collectionType var
* test: no error for empty collection
* chore: changeset
Diffstat (limited to '.changeset')
-rw-r--r-- | .changeset/olive-rabbits-rhyme.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.changeset/olive-rabbits-rhyme.md b/.changeset/olive-rabbits-rhyme.md new file mode 100644 index 000000000..7720c1ed5 --- /dev/null +++ b/.changeset/olive-rabbits-rhyme.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fix content collection build errors for empty collections or underscore files of type `.json`. |