arco-design / arco-cli

CLI tool for Arco Design
https://arco.design/docs/material/guide
MIT License
203 stars 76 forks source link

指定 BUILD_ENV_TS_COMPILER=babel 构建物料组件时, 缺失了 .d.ts 产物 #79

Closed marvinyma closed 1 year ago

marvinyma commented 1 year ago

Describe the bug arco-script 用 BUILD_ENV_TS_COMPILER=babel arco-scripts build:component 构建时, esm 和 cjs 产物缺失了 .d.ts 文件。 但事实上 arco-script 用babel构建ts时用的 gulp-typescript 插件是支持产出 .d.ts 文件的,代码里没有支持生成 .d.ts