babel / js是否仍应使用bable / polyfill?

我很困惑...

console.log('metro bundler start'); console.log(require.resolve("./scripts/script.js")); module.exports = (async () => { ... console.log('metro bundler end'); })(); 的{​​{3}}说,该软件包已被弃用,而赞成@babel/polyfillcore-js

(babel的文档)[documentation告诉您安装regenerator-runtime作为运行时依赖项。...

如果我没有安装@babel/polyfill,而是同时安装@babel/polyfillcore-js作为运行时依赖项,它似乎可以工作(regenerator-runtime是否需要是运行时依赖项? )

core-js的文档是否过时?还是我缺少部署时会咬回去的东西?

tb_eleven 回答:babel / js是否仍应使用bable / polyfill?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2971220.html

大家都在问