-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
当base配置项和ssrManifest同时使用时,生成ssr-manifest.json中部分css url地址不正确并未加上base前缀 #7682
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Comments
haoqunjiang
added
p3-minor-bug
An edge case that only affects very specific usage (priority)
bug
and removed
feat: ssr
labels
Apr 29, 2022
@yuntian001 now is seems to resolved?
but js no base
|
应该也带着base才对。正确的结果应该为
|
@poyoho 这个问题有修复计划么,大约什么时候可以完成 |
@yuntian001 I fix it now, would you have time to test this? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
复现方法:
使用官方提供 的ssr-vue示例 https://github.com/vitejs/vite/tree/main/packages/playground/ssr-vue,vite.config.js中加入base:'test/',配置项
运行npm run build命令
可以看到ssr-manifest.json中的.vue文件内联的style标签生成的css文件都没有加上base前缀
Reproduction
https://github.com/vitejs/vite/tree/main/packages/playground/ssr-vue
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: