We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const mods = import.meta.glob(`./**/*`); console.log(mods);
module.meta.glob is not a function
No response
Uncaught TypeError: module.meta.glob is not a function
The text was updated successfully, but these errors were encountered:
replace
const mods = import.meta.glob(`./**/*`);
with
import.meta.glob('./**/*');
Using string literal instead of template string
Sorry, something went wrong.
取代 const mods = import.meta.glob(`./**/*`); 跟 import.meta.glob('./**/*'); 使用 string literal 而不是 template string
取代
跟
使用 string literal 而不是 template string
???
glob 里面用字符串常量,比如 import.meta.glob('./**/*');。用模版字符串(./**/*)的话会视为一个变量,无法静态分析
import.meta.glob('./**/*')
./**/*
No branches or pull requests
Steps to reproduce
Reproduce link
No response
What is actually happening?
System Info
The text was updated successfully, but these errors were encountered: