Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.36 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.36 KB

CI Status CI Status Gradle Plugin Portal Kotlin

Kotlin/JS Fast Configuration

application

Usage

build.gradle.kts

plugins {
    id("io.github.turansky.kfc.application") version "12.0.0"
}

Defaults

  • Kotlin/JS
    • Target es2015
    • Granularity per-file

Bundler

We use Vite

Configuration

You can add your custom vite.config.mjs (example)

Dev Server

  1. Add index.html file with module script to JS entrypoint (example)

  2. Specify custom config file with root to kotlin (example)

  3. Start a dev server, run jsViteRun task (example)

Source Maps

Enable source maps generation:

kfc.source.maps=true