close
The Wayback Machine - https://web.archive.org/web/20200704200724/https://github.com/NervJS/taro/issues/6889
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

Taro3 如何配置@babel/polyfill #6889

Open
Smi1e96 opened this issue Jul 2, 2020 · 1 comment
Open

Taro3 如何配置@babel/polyfill #6889

Smi1e96 opened this issue Jul 2, 2020 · 1 comment

Comments

@Smi1e96
Copy link

@Smi1e96 Smi1e96 commented Jul 2, 2020

这个特性解决了什么问题?

babel.config.js 中使用useBuiltIns: "usage", 并不能启用polyfill
image

可以使用ahooks之类@474@426

这个 API 长什么样?

babel.config.js 可以配置出polyfill

@Smi1e96
Copy link
Author

@Smi1e96 Smi1e96 commented Jul 2, 2020

出现这个问题@474 也是 编译不报错,但开发者工具预览的时候控制台报错

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.