The documentation website has been upgraded to the latest Material MkDocs version, and a bunch of new features have been enabled… Can you spot them all?
This release updates the Vite version, and new Vite versions require a newer NodeJS version than the one shipped by default by the Kotlin Gradle Plugin.
For the build to work, you may need to upgrade the NodeJS version you're using as well.
To do so, open the root build.gradle.kts file and add:
Added experimental WasmJS support (#46, #127, #137)
Added the :vitePreview task to serve the production output locally (66ba462a)
Fixed the default target which was incorrect, replaced it with "es2015" (9c047b0d)
Fixed external plugins (config.plugin()) which were not correctly applied (#65, !139)
Removed the default plugins @rollup/plugin-commonjs and vite-plugin-top-level-await, as they are not needed with Vite 8. If you want to continue using Vite 7, you may need to explicitly add them to your build (!141)
Thanks to Robert Jaros, the author of the KotlinJS frameworks Kilua and KVision, who contributed most of the improvements in this release.
Since Kilua 0.0.27, you can also find our Vite plugin in the Kilua project creation wizard in IntelliJ!