Skip to content

turansky/kfc-plugins

Repository files navigation

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 "13.5.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