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
1.5.3
No response
虽然tdesign配置了sideEffects, 打包时能剔除多余的css引入,但在unplugin-vue-components在vite开发环境下跳过了sideeffects检查,导致开发环境下引入了全部组件的css样式
以下示例中我进在首屏只引入了t-button,但发起了多条css请求
vitejs/vite#12789
判断修改unplugin-vue-components中tdesign解析器相关代码为具体到某个组件入口文件的风险
The text was updated successfully, but these errors were encountered:
👋 @xiankq,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
一样,用unpugin插件按需引入会引入所有样式(400kb+)
No branches or pull requests
tdesign-vue-next 版本
1.5.3
重现链接
No response
重现步骤
虽然tdesign配置了sideEffects, 打包时能剔除多余的css引入,但在unplugin-vue-components在vite开发环境下跳过了sideeffects检查,导致开发环境下引入了全部组件的css样式
以下示例中我进在首屏只引入了t-button,但发起了多条css请求
vitejs/vite#12789
期望结果
No response
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
判断修改unplugin-vue-components中tdesign解析器相关代码为具体到某个组件入口文件的风险
The text was updated successfully, but these errors were encountered: