-
Notifications
You must be signed in to change notification settings - Fork 95
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
build后index.html没有生成script标签 #96
Comments
same question. i found the reason maybe configArcoResolverPlugin() in vite.config.prod.ts. according to the issue, it may not support vite4 |
使用yarn安装依赖最终生成的html不会生成script标签,但是删除yarn.lock文件,使用npm安装依赖不会出现这个问题。 |
我试了一下你的这个方法,但是build时依赖报错了
然后我把vite版本降到3,用yarn也可以成功build了 |
thanks ,it woks for m,i just downgrade vite version from 4 to 3. |
我的也出现了 |
看了最新的记录,官方已解决 |
Basic Info
What is expected?
正常打包
Steps to reproduce
Extra info
所有输出正常,生成的index.html没有引入js
The text was updated successfully, but these errors were encountered: