-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
vite V3.0.0 vite.config.ts 引入插件报错(***** is not a function) #9414
Comments
Found the same problem 👉 TypeError: electron is not a function |
如果把vite版本降低到V2.9.0就不会报错 |
Hello @Balott. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
|
删掉package.json 中的 "type": "module"配置 |
Describe the bug
npm run dev
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: