To build the application, you need to have JDK 17 or later installed.
The following tasks are available:
./gradlew -t jsRun
- run the webpack dev server in continuous build mode for JS target onhttp://localhost:3000
./gradlew -t wasmJsRun
- run the webpack dev server in continuous build mode for Wasm target onhttp://localhost:3000
./gradlew jsBrowserDistribution
- build production application for JS target tobuild/dist/js/productionExecutable
directory./gradlew wasmJsBrowserDistribution
- build production application for Wasm target tobuild/dist/wasmJs/productionExecutable
directory
Note: use gradlew.bat
instead of ./gradlew
on Windows operating system.