【非常严重】setup 脚本引入未使用的组件,编译不生成对应的组件js脚本,导致无法真机调试
Open
- Dominant language
- JavaScript
- Stars
- 41.6k
- Forks
- 3.7k
- Avg merge
- 7h 6m
- Merged PRs (30d)
- 6
Description
**问题描述**
setup 脚本引入未使用的组件,编译不生成对应的组件js脚本,导致无法真机调试
**复现步骤**
1. git clone https://github.com/yxw007/uniapp_issue.git
2. git checkout ComponentDisplayIssus
3. cd uniapp_issue
4. yarn & yarn dev
**预期结果**
只要引入了对应组件就生成对应组件js脚本
**实际结果**

**导致问题**

**系统信息:**
- 发行平台: 微信小程序
- uni-app版本:3.0.0-alpha-3050120220706002(最新版也一样)
**补充信息**
Contributor guide
Assessment
This issue has not been assessed yet.