Vite bundler configuration in V4

There’s at least 3 busted in the same way: using js rather than jsx