I've published new
Kilua template project with Vite plugin configured and ready to use (currently only for JS target). Full HMR with passing compose state to new cycle is implemented. You can compare the implementation with the standard, webpack based template. You can also compare the production bundles.