I am very happy that today we merged the pull request switching the Mastodon frontend build chain from the very old (and outdated) Webpack 4 to @vite
It is not visible to end-users but it will greatly improve the developer experience with working on the Mastodon frontend and opens the door for many good things.
I started the initial work 2 years ago, then @chaosexanima took over and got it over the finish line
https://github.com/mastodon/mastodon/pull/34450
@vite @chaosexanima We also migrated from Jest to @vitest, and removed 30% of our (indirect) Javascript package dependencies
I see there鈥檚 a different compiler.
Everything seems to work fine !
We're close to merging the very same thing (wepack->vite) in the coming weeks as well, can't wait to get this out the door. We also started experimenting and exploring ~ 2 years ago, so I feel your excitement!