Looking into whether it's possible to replace babel with swc to improve the speed of webpack compilations. swc is written in and claims to be 16x faster. It's not a simple drop-in, sadly, because swc is missing some features we use via babel plugins, but the dev said they're interested in getting it to work

@Gargron Is babel really that slow for mastodon? I've always had lightening quick babel transpile times.

@krainboltgreene Webpack takes 5 minutes to compile everything. Admittedly I don't know where exactly that time is spent.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!