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.3.1
https://github.com/FireBushtree/weight-control
在 Form 组件的 useInitialData.ts 文件中引入了其他组件,用来初始化表单的值。 导致打包后,我在项目中没有使用 RangeInput 等组件,但是它们的代码还是被打包进项目了。
Form
useInitialData.ts
RangeInput
在未使用RangeInput 等组件的情况下,能够成功tree-shaking
tree-shaking
没有使用的组件,也被打包了
No response
The text was updated successfully, but these errors were encountered:
👋 @FireBushtree,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
♥️ 有劳 @ximendatie @cuijinyu @BaoTao1997 @yume316 @honkinglin 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @FireBushtree 。
这个问题有进展了么
这个讨论看怎么优化才行
honkinglin
No branches or pull requests
tdesign-react 版本
1.3.1
重现链接
https://github.com/FireBushtree/weight-control
重现步骤
在
Form
组件的useInitialData.ts
文件中引入了其他组件,用来初始化表单的值。导致打包后,我在项目中没有使用
RangeInput
等组件,但是它们的代码还是被打包进项目了。期望结果
在未使用
RangeInput
等组件的情况下,能够成功tree-shaking
实际结果
没有使用的组件,也被打包了
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: