You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just in case it helps improve the path for others, allow me to elaborate on my journey:
I didn't know babel-upgrade existed, only learned about it via Henry's tweet. This brought me here - which was a little disorienting at first, as neither the issue description nor the README clearly state what babel-upgrade actually does. (Not a criticism, just an observation from someone who isn't tied into the community too closely.)
The usage instructions recommend using npx babel-upgrade, which I thought meant I had to npm install babel-upgrade first (apparently npx does that on the fly; TIL!). The final step was inferring that babel-upgrade modifies the respective package.json, upgrading dependencies - for Babel's own packages as well as packages from the greater ecosystem (in my case: rollup-plugin-babel).
After that, everything was pretty simple: updating dependencies to their latest version (babel-upgrade's transformations were a little outdated), running npm install (manually, mostly because I hadn't grokked babel-upgrade's role in the first place) and updating our tests (we're intentionally keeping a close eye on transpilation output, just to be safe).
The only trouble was figuring out the necessary Rollup adjustments (particularly WRT babel-plugin-external-helpers), but that wasn't a big deal either.
Anyway, looks like we're all set now - thanks for all your efforts!
Writing down if tools are converted/what we need to do. Tracking date added to the list too.
babel-core@^7.0.0-0
)1.0.0-beta.1
Apps
The text was updated successfully, but these errors were encountered: