Hey there,
we're working on a Vite plugin for ClojureScript (/squint-cljs) and I found that when referencing a .cljs file in index.html it only works with vite build.
vite dev will load the .cljs in verbatim, i.e. without transpilation of through our plugin.
The plugin code can be found here: https://github.com/squint-cljs/squint-vite-plugin
The repo also contains a demo/ where this behavior can be observed.
Any pointers greatly appreciated 🙏