Filter files using include and exclude
masterThe include and exclude options accept a Filter type: { bundle?: picomatchPattern, file?: picomatchPattern }.
Filters use picomatch globs and support the format BUNDLE_GLOB:FILE_GLOB (the colon is required when matching the bundle).
Supported forms:
- Bundle + file:
translation-*.js:*/**/index.js - Bundle only:
translation-*.js: - File only (default):
*/**/index.js
If include is omitted or empty, all files are included by default. Otherwise, an ID must match at least one include pattern and must not match any exclude pattern.