Switching from Babel to SWC: Balancing performance with modern tools and legacy code
Ever since websites started being made essentially from JavaScript, transpiling this code to run in the largest number of different browsers has been an essential step in the build process. From the very beginning, more than ten years ago, the BedrockStreaming web application has relied on Babel for this task. This year we migrated from Babel to its next-gen replacement, SWC. It was not a smooth ride all the way, so let’s see what challenges we’ve had to overcome and if the payoff was worth the effort!
