Hi, I've noticed a very odd issue with your plugin. It appears @netlify/vite-plugin alters Vite's regular vite dev behaviour from serving transformed source to instead serving the dist folder, just like vite preview.
Here's a reproduction:
https://github.com/alextompkins/netlify-vite-plugin-serve-dist-issue