Yiheng

Results 133 comments of Yiheng

> > 差异太大,应保持相同输出,js 里面的 export 也完全不一样了 cjs输出是否有必要?package.json中并未导出cjs。另外这是个什么软件,我也下一个

@yoyo837 1. cjs 已输出 2. 无导出的 ts 不会产生 d.ts 3. 由于无法将 `@taro/shared`中的`const enum Shortcuts` [内联为字面量](https://github.com/rolldown/tsdown/issues/156),导致下游包无法访问`@taro-runtime`中的 `Shortcuts.Childnodes`,故构建时会打包 `@taro/shared`

> > taro-runtime 下有导出名字变了 [已跟踪](https://github.com/rolldown/tsdown/issues/269)。 另外这个名字会在 index 中被改回来,所以总的 API 是不变的,除非单独 import 这个文件。

> > [已跟踪](https://github.com/rolldown/tsdown/issues/269)。 另外这个名字会在 index 中被改回来,所以总的 API 是不变的,除非单独 import 这个文件。 > > 有单独import的情况的 那就等上游更新吧

合这个 https://github.com/NervJS/taro/pull/17848

Hi, it still exists in version 8.6.5

same issue here, rolling back to 4.1.9

Any updates? This will cause my downstream to throw `undefined XXX` because my upstream uses const enum.

来投票吧 https://github.com/NervJS/taro/discussions/17474

Is there a reason not to use TS as the entire codebase?