ant-design / ant-design/pro-components
🐛 Vite 打包时报错 :"ColorPicker" is not exported by "node_modules/antd/es/index.js", imported by "node_modules/@ant-design/pro-field/es/components/ColorPicker/index.js"
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
Vite 打包时报错 :"ColorPicker" is not exported by "node_modules/antd/es/index.js", imported by "node_modules/@ant-design/pro-field/es/components/ColorPicker/index.js"
### 📷 复现步骤
### 🏞 期望结果
能够正常打包,或者是否能通过配置忽略错误
### 💻 复现代码
### © 版本信息
- ProComponents 版本: 2.6.49
- umi 版本 无
- 浏览器环境
- 开发环境 [e.g. mac OS]
### 🚑 其他信息

Contributor guide
Research direction
Start by reproducing the Vite build failure with ProComponents 2.6.49 and inspect the imports from node_modules/@ant-design/pro-field/es/components/ColorPicker/index.js and node_modules/antd/es/index.js. Confirm whether the package versions cause the missing ColorPicker export, and consider the reported expected outcomes: a successful build or a documented configuration to ignore the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript, vite
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100