-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
If you define an Array it will only glob files that matches the patterns inside the Array
Needed to migrate Docusaurus:
I don't think globs in files are explicitly supported: https://docusaurus.io/docs/cli#docusaurus-write-heading-ids-sitedir
I guess getPathsToWatch could return a directory rather than a file or glob though they don't give any examples of that being done.
I think though that it would be rather hard to try to accomplish this by modifying the input patterns because we don't necessarily know what is a file and what is a directory. It's possible this could only be done either with the option in tinyglobby or possibly by requiring different input from users as a breaking change in Docusaurus v4.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request