-
Notifications
You must be signed in to change notification settings - Fork 287
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
【急】如何按需引用 ? #3362
Comments
👋 @HappySonnyDev,感谢给 TDesign 提出了 issue。 |
@HappySonnyDev 麻烦提供一下打包前和打包后的文件对比图、 |
@anlyyao |
|
|
上传时会过滤未使用组件。 你可以用 miniprogram-ci 工具本地看下打包产物,这个产物才是工具会上传的文件 https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html |
搞定了,需要配置下 ignoreUploadUnusedFiles: true |
这个功能解决了什么问题
请教下 tdesign 怎么按需引用,目前打包后组件库的体积有 1M,我看打包后有很多没有用到的文件,想问下这些没有用到的文件怎么删除?(我已经开启了“上传时过滤无依赖文件)
你建议的方案是什么
无
The text was updated successfully, but these errors were encountered: