Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support import.meta.glob #339

Open
1 task
pi0 opened this issue Nov 5, 2024 · 0 comments
Open
1 task

Support import.meta.glob #339

pi0 opened this issue Nov 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pi0
Copy link
Member

pi0 commented Nov 5, 2024

Describe the feature

Vite has Glob Import support. Example:

const modules = import.meta.glob('./dir/*.js')

We might support it for jiti but it will be a non-standard feature. For ts files works and for native imports, might work with fallback system jiti has.

Additional information

  • Would you be willing to help implement this feature?
@pi0 pi0 added the enhancement New feature or request label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant