While I haven't looked deeply into this space of things, here's one project I came across recently: - https://github.com/lisonge/vite-plugin-monkey - > A vite plugin server and build your.user.js for userscript engine like Tampermonkey, Violentmonkey, Greasemonkey, ScriptCat