Reputation: 1697
In The docs for the new Astro 5.0.0 release, the new syntax for content collections is introduced docs are here
In there, I see a glob pattern **\/[^_]*.md
but not how this should differ from **\*.md
. Can anyone help out here? Globs are not regexes so I don't think these are filenames that start with a _
or ^
or do not start with an underscore. Does this indicate it looks for references to similar files?
Upvotes: -2
Views: 75
Reputation: 1697
Well, after some further reading, turns out it behaves like grep or other regexes after all. It excludes files starting with _
from being globbed.
Astro does not build directories or files starting with an underscore.
Upvotes: 0