Support for glob imports (import.meta.glob) #4986
Labels
feat
New feature or request
need documentation
Create a tracking issue in rspack-website
pending triage
The issue/PR is currently untouched.
team
The issue/pr is created by the member of Rspack.
What problem does this feature solve?
Vite supports importing multiple modules from the file system via the special
import.meta.glob
function:Rspack supports dynamic import with dynamic paths, but glob imports can import a subset of matching modules more explicitly. So it would be nice if Rspack can support glob imports too.
What does the proposed API of configuration look like?
Same API as Vite provides: https://vitejs.dev/guide/features.html#glob-import
The text was updated successfully, but these errors were encountered: