Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目中用到了Promise.all会提示编译失败 #4

Open
huangjingshuai opened this issue Sep 20, 2022 · 2 comments
Open

项目中用到了Promise.all会提示编译失败 #4

huangjingshuai opened this issue Sep 20, 2022 · 2 comments

Comments

@huangjingshuai
Copy link

你好,laya项目中用到了Promise.all,然后编译时就会报 Transforming destructuring to the configured target environment ("chrome58", "edge16", "es2020", "firefox57", "node12", "safari11") is not supported yet,怎么解决掉呢?

@ending12
Copy link

你好,laya项目中用到了Promise.all,然后编译时就会报 Transforming destructuring to the configured target environment ("chrome58", "edge16", "es2020", "firefox57", "node12", "safari11") is not supported yet,怎么解决掉呢?

你好啊!现在编译也遇到了这样的情况,不知你们解决了没有

@Hunterib
Copy link
Owner

好,laya项目中用到了Promise.all,然后编译时就会报将解构转换到配置的目标环境("chrome58", "edge16", "es2020", "firefox57", "node12", "safari11")还不支持,怎么解决掉呢?

你好啊!现在编译也遇到了这样的情况,不知道你们解决了吗

是否可以提供一个demo呢
image

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

No branches or pull requests

3 participants