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
在 src/mian/index.ts 文件中添一个中文变量会导致编译出错: Error: The keyword 'let' is reserved (Note that you need plugins to import files that are not JavaScript)
let 中文 = 123; console.log(中文);
The text was updated successfully, but these errors were encountered:
啊,我一下不知道这个是esbuild的问题还是啥,我更倾向于是esbuild不支持?如果是这要可能也没啥好的办法处理这个情况……
Sorry, something went wrong.
这个问题,我解决,将esbuild 配置 charset: 'utf8' 就好了
No branches or pull requests
在 src/mian/index.ts 文件中添一个中文变量会导致编译出错: Error: The keyword 'let' is reserved (Note that you need plugins to import files that are not JavaScript)
The text was updated successfully, but these errors were encountered: