vite adds additional things to your page in dev so that it's easier to debug. when you are running it in production, it is just one js bundle & one css file.