babel-plugin-wildcard
babel-plugin-wildcard copied to clipboard
An option to exclude some files
Could we somehow exclude particular files from being imported? I mean especially the situation when the index file is in the same folder as the ones we would like to import. Right now we have to create a separate folder to isolate them.
@EmEsA this would be great enhancement 👍 +1
Does a glob pattern resolve this issue? Such as:
import * as AllComponents from '../../../components/**/*[!index].js';