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
似乎当使用了其他的vite插件(初步推测可能是 unocss时)可能会导致 vite 中 build.target 项被更改 即 build.cssTarget 继承原有的 target 而 target 被修改为 [ "esnext" ] 导致打包失败
通过配置项指定或采用其他的特殊 renderer build target (即chrome**) 来避免
1.0.22
24.3.1
4.3.5
The text was updated successfully, but these errors were encountered:
感谢建议,有些包会强制修改target,后续兼容chrome**和>=es2021。
Sorry, something went wrong.
feat: supports ES build target for renderer #174
6dff347
New ver 1.0.23 is out. Supports es? build target.
es?
No branches or pull requests
Describe the bug
问题描述
似乎当使用了其他的vite插件(初步推测可能是 unocss时)可能会导致 vite 中 build.target 项被更改
即 build.cssTarget 继承原有的 target 而 target 被修改为 [ "esnext" ] 导致打包失败
建议
通过配置项指定或采用其他的特殊 renderer build target (即chrome**) 来避免
Electron-Vite Version
1.0.22
Electron Version
24.3.1
Vite Version
4.3.5
Validations
The text was updated successfully, but these errors were encountered: