forked from vitejs/vite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: escape characters in dynamic import (fix vitejs#11824)
- Loading branch information
ivan
committed
Jan 28, 2023
1 parent
128f09e
commit d9098c6
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const relative = import.meta.glob('./**/*.js', { eager: true }) | ||
const relative = import.meta.glob(`../{curlies}/**/*.js`, { eager: true }) | ||
const alias = import.meta.glob('@escape_{curlies}_mod/**/*.js', { eager: true }) | ||
export { relative, alias } |