Clear and concise description of the problem
When writing exports, I want to exclude files based on regex or globs that shouldn't be exported.
Suggested solution
An exclude option under ExportOptions that takes an array of regexes or globs that will be honored
Alternative
Writing a custom exports fn, but that seems to be quite brittle.
Additional context
https://x.com/colinhacks/status/1936539368573083894
Validations
Clear and concise description of the problem
When writing exports, I want to exclude files based on regex or globs that shouldn't be exported.
Suggested solution
An
excludeoption underExportOptionsthat takes an array of regexes or globs that will be honoredAlternative
Writing a custom exports fn, but that seems to be quite brittle.
Additional context
https://x.com/colinhacks/status/1936539368573083894
Validations