Looking into whether it's possible to replace babel with swc to improve the speed of webpack compilations. swc is written in #rustlang 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.
@Gargron Give this a shot? https://github.com/stephencookdev/speed-measure-webpack-plugin
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!