For larger projects, it is sometimes not possible to have a single glob pattern which describes every source file that should be scanned. It would be great if we could pass multiple patterns to the extractor.
It should be rather easy to implement, since the glob library already supports this. The following snippet is from its readme:
// multiple patterns supported as well
const images = await glob(['css/*.{png,jpeg}', 'public/*.{png,jpeg}'])
Hi there 👋
For larger projects, it is sometimes not possible to have a single glob pattern which describes every source file that should be scanned. It would be great if we could pass multiple patterns to the extractor.
It should be rather easy to implement, since the glob library already supports this. The following snippet is from its readme: