question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to Babel 7

See original GitHub issue

That’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) in package.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:closed
  • Created 5 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
willdurandcommented, Sep 12, 2018

@hritvi please go ahead, not sure it is an easy task though

0reactions
ioanarusiczkicommented, Nov 22, 2018

Release testing results are here https://testrail.stage.mozaws.net/index.php?/plans/view/13844 Verified with FF63 (win10 & android 8.0)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found