How to update core-js to core-js@3 dependency?

后端 未结 6 706

While I was trying to install and setup react native, the precaution observed about the core-js version as update your core-js@... to core-js@3 But don\'t know how to update

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 11:26

    Install

    npm i core-js
    

    Modular standard library for JavaScript. Includes polyfills for ECMAScript up to 2019: promises, symbols, collections, iterators, typed arrays, many other features, ECMAScript proposals, some cross-platform WHATWG / W3C features and proposals like URL. You can load only required features or use it without global namespace pollution.

    Read: https://www.npmjs.com/package/core-js

提交回复
热议问题