Vite bundler configuration in V4

we used it internally before doing a quick change all and it worked nicely, but that was on the library level not necessarily on the bundler for the app level.