DouyinFE / semi-design

🚀A modern, comprehensive, flexible design system and React UI library. 🎨 Provide more than 3000+ Design Tokens, easy to build your design system. Make Semi Design to Any Design. 🧑🏻‍💻 Design to Code in one click
https://semi.design
Other
8.42k stars 711 forks source link

[BUG] 升级v2.63.0报"找不到模块" #2378

Closed Memoyu closed 2 months ago

Memoyu commented 3 months ago

Is there an existing issue for this?

Which Component

No response

Semi Version

v2.63.0

Current Behavior

image TypeScript 版本下升级到v2.63.0版本后无法引用类型 import { FormApi } from '@douyinfe/semi-ui/lib/es/form'; build 报错: Cannot find module '@douyinfe/semi-ui/lib/es/tag' or its corresponding type declarations 切换回v2.62.1后正常

Expected Behavior

No response

Steps To Reproduce

No response

ReproducibleCode

No response

Environment

- OS:
- browser:

Anything else?

No response

ilxqx commented 3 months ago

我也遇到了语言模块导入无法识别的问题: image

ilxqx commented 3 months ago

发现回退到:2.62.1 这个版本就不报错了

pointhalo commented 3 months ago

@DaiQiangReal package.json 这个 export 似乎有影响,可能需要回退一下 #2363

pointhalo commented 2 months ago

v2.63.1 已回退。