Upgrade to Babel 7
See original GitHub issueThat’s not urgent but this should be done at some point. Babel 6 works well and B abel 7 does not have a lot of BC breaks, but it is not possible to upgrade directly, there are a few changes, including:
- renaming packages (from
babel-xyz
to@babel/xyz
) inpackage.json
,.babelrc
, and webpack config files - adopting babel-preset-env, which is the recommended plugin for a while now. It means we should get rid of the ES2015 preset (deprecated anyway)
More info at: https://babeljs.io/docs/en/v7-migration
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Upgrade to Babel 7
Upgrade to Babel 7 · All of Babel · Config Lookup Changes · Yearly Preset Deprecations · Stage Preset Deprecations · Remove proposal...
Read more >How to upgrade to babel 7 - Stack Overflow
Use babel-upgrade. Tested on node@10.15.3, npm@6.4.1 and babel@7.4.0. You can use following script. (npx on node 5+ only) npx babel-upgrade ...
Read more >npx babel-upgrade - GitHub
babel-upgrade. A tool that tries to automatically update most dependencies, config files, and JavaScript files that require Babel packages directly to Babel 7...
Read more >babel-upgrade - npm
Upgrade tool for Babel. Latest version: 1.0.1, last published: 4 years ago. Start using babel-upgrade in your project by running `npm i ...
Read more >Fast way to upgrade to Babel 7 - Medium
According to migration guide from babel, you could use babel-upgrade tool to resolve the issue of stage preset deprecation.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@hritvi please go ahead, not sure it is an easy task though
Release testing results are here https://testrail.stage.mozaws.net/index.php?/plans/view/13844 Verified with FF63 (win10 & android 8.0)