使用@ babel / polyfill后,集合没有用ie10定义,但是ie11可以。

config: const预设= [     '@ babel /反应',     [         '@ babel / preset-env',         {             目标:{                 “浏览器”:[“即9-11”]

        },useBuiltIns: 'usage',corejs: 2,modules: false
    }
]

];

package.json: “ @ babel / polyfill”:“ ^ 7.7.0”, “ core-js”:“ 2”, “ @ babel / core”:“ ^ 7.1.6”, “ @ babel / preset-env”:“ ^ 7.1.6”,

lugogogo 回答:使用@ babel / polyfill后,集合没有用ie10定义,但是ie11可以。

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

大家都在问