Kilua guide
  • Kilua Guide
  • Introduction
  • Compose world
  • 1. Getting Started
    • Setting Up
    • Creating a New Application
    • Modules
    • Development Workflow
    • Hot Module Replacement
    • Debugging
    • Building For Production
  • 2. Frontend Development Guide
    • Composable functions
    • Browser APIs
    • Interoperability with JavaScript
    • Working with Compose
    • Rendering HTML
    • Type-safe CSS properties
    • Resources
    • Icons
    • Routing
    • Layout containers
    • Events
    • Forms
    • Form controls
    • SVG images
    • Drag and drop
    • Internationalization
    • REST client
    • Markdown and sanitization
    • Using Bootstrap
    • Using TailwindCSS
    • Using Tabulator
    • Animation
    • Using Jetpack Compose API
  • 3. Fullstack Components
  • Useful References
Powered by GitBook
On this page
  1. 1. Getting Started

Building For Production

To build a complete application optimized for production, run one of these commands:

./gradlew clean jsBrowserDistribution                   (Js target on Linux)
./gradlew clean wasmJsBrowserDistribution               (WasmJs target on Linux)
gradlew.bat clean jsBrowserDistribution                 (Js target on Windows)
gradlew.bat clean wasmJsBrowserDistribution             (WasmJs target on Windows)

The application files will be generated in the build/dist/js/productionExecutable or build/dist/wasmJs/productionExecutable directory.

PreviousDebuggingNext2. Frontend Development Guide

Last updated 2 months ago