Until now we managed the typechecking and the generation of the .d.ts files of our libraries by manipulating tsc
directly via npm scripts.
While this approach works, it is not easy to maintain globally since the setup is done in each library and it leads to a non negligible amount of boilerplate in each package.json
.
The Vite ecosystem is now richer and there are now alternatives to our current approach that allow us to manage everything from the Vite configuration.