vite error during build: RollupError "Transition" is not exported by ...
LHiaoeng opened this issue · 0 comments
LHiaoeng commented
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.0
Environment
vue: 3.4.21 vite:5.2.10
Reproduction link
https://github.com/LHiaoeng/breadj-client-web
Steps to reproduce
vite build
What is expected?
vue 用CDN导入,期望打包成功
What is actually happening?
error during build: RollupError: node_modules/.pnpm/ant-design-vue@4.2.0_vue@3.4.25_typescript@4.9.5_/node_modules/ant-design-vue/es/alert/index.js (15:0): "Transition" is not exported by "node_modules/.pnpm/ant-design-vue@4.2.0_vue@3.4.25_typescript@4.9.5_/node_modules/ant-design-vue/es/util/transition.js", imported by "node_modules/.pnpm/ant-design-vue@4.2.0_vue@3.4.25_typescript@4.9.5/node_modules/ant-design-vue/es/alert/index.js". file: D:/WebstormProjects/breadj-client-web/node_modules/.pnpm/ant-design-vue@4.2.0_vue@3.4.25_typescript@4.9.5_/node_modules/ant-design-vue/es/alert/index.js:15:0