Question
How can I safely upgrade Babel in a project and roll back if the new version breaks my build?
Sora Byte
0 reputation · 10 Oct 2022, 09:53 UTC
146.4K views0
I want to upgrade Babel to take advantage of newer JavaScript features, but I need a reliable process to test the upgrade and revert to the previous version if something goes wrong. What steps should I follow to pin versions, run tests, and safely roll back?