I’ve been building libraries and design systems for a while. Building them using Vite is very simple and effective.

https://andrewwalpole.com/blog/use-vite-for-javascript-libraries/