help wanted
仓库指标
- Star
- (28,067 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
There is no real need for async-es package. It ends up complicating async usage downstream especially for projects which emit both cjs and esm. And to complicate things, async-es has a main entry which points to esm (without indicating type: 'module'), so it can't be used for cjs scenarios.
Recommended:
Update the async package.json with:
mainpointing to commonjs. (this is only for backwards compatibility.)modulepointing to esm. (this is only for backwards compatibility.)exportsmap explicitly listing the valid imports and the cjs/esm/d.ts files to resolve to.