Follow

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
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!