Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[需求]更完善的 async-await 支持方案 #140

Closed
Darmody opened this issue Aug 24, 2019 · 6 comments · Fixed by #147
Closed

[需求]更完善的 async-await 支持方案 #140

Darmody opened this issue Aug 24, 2019 · 6 comments · Fixed by #147

Comments

@Darmody
Copy link
Contributor

Darmody commented Aug 24, 2019

需求描述
完全支持 async-await,目前的支持不够完美

Darmody added a commit that referenced this issue Aug 25, 2019
@Darmody Darmody added this to the v1.1.0 milestone Aug 25, 2019
Darmody added a commit that referenced this issue Aug 25, 2019
Darmody added a commit that referenced this issue Aug 26, 2019
@yesmeck yesmeck removed this from the v1.1.0 milestone Aug 27, 2019
@krhougs
Copy link
Contributor

krhougs commented Aug 27, 2019

regenerator-runtime 在小程序中可以运行的最高版本是 0.13.1

@Darmody
Copy link
Contributor Author

Darmody commented Aug 27, 2019

是吗。但是我试过有问题。那我再试试

@krhougs
Copy link
Contributor

krhougs commented Aug 27, 2019

我这边测试用 plugin-transform-runtime@7.5.5 并且在 yarn resolution 里锁定 regenerator-runtime@0.13.1 是可以正常使用的。

@krhougs
Copy link
Contributor

krhougs commented Aug 27, 2019

facebook/regenerator#378

@krhougs
Copy link
Contributor

krhougs commented Aug 27, 2019

可以看看为什么rollup的输出会运行在strict mode

@Darmody
Copy link
Contributor Author

Darmody commented Aug 27, 2019

这个问题其实可以认为是不支持的

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants