I’ve just created a simple Vite plugin that lets you compile Haxe code to js in the very nice web dev environment that Vite provides:
4 Likes
Not trying to hijack your thread, but I figured I’d mention that I recently created an OpenFL plugin for Vite too!
2 Likes
I’m curious, since Vite bundles the output, if it’s possible to output the compiled js to stdout instead of to a file, that needs to be temporary and read after compilation, so it would certainly be more optimal to just pipe from stdout to the build pipeline.