Refactor MainView and enhance View management
Replaced `MainView` object with a `Views` singleton for better modularity and lazy initialization. Adjusted CSS structure, updated dependencies, and improved FM/AM modulation logic for greater flexibility. Additionally, upgraded Kotlin multiplatform version and added inline source mapping.
This commit is contained in:
@@ -25,6 +25,7 @@ kotlin {
|
||||
commonWebpackConfig {
|
||||
outputFileName = "vst-chip-worklet-ui.js"
|
||||
sourceMaps = true
|
||||
devtool = "inline-source-map"
|
||||
}
|
||||
|
||||
distribution {
|
||||
@@ -56,14 +57,16 @@ kotlin {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
//base
|
||||
implementation("nl.astraeus:kotlin-css-generator:1.0.10")
|
||||
implementation("nl.astraeus:vst-ui-base:1.2.0")
|
||||
//implementation("nl.astraeus:kotlin-css-generator:1.0.10")
|
||||
api("nl.astraeus:vst-ui-base:2.0.0-SNAPSHOT")
|
||||
implementation("nl.astraeus:midi-arrays:0.3.2")
|
||||
}
|
||||
}
|
||||
val jsMain by getting {
|
||||
dependencies {
|
||||
/*
|
||||
implementation("nl.astraeus:kotlin-komponent:1.2.4")
|
||||
*/
|
||||
}
|
||||
}
|
||||
val jsTest by getting {
|
||||
@@ -77,22 +80,7 @@ kotlin {
|
||||
implementation("nl.astraeus:vst-ui-base:1.0.1-SNAPSHOT")
|
||||
}
|
||||
}*/
|
||||
val jvmMain by getting {
|
||||
dependencies {
|
||||
//base
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.0")
|
||||
|
||||
implementation("io.undertow:undertow-core:2.3.14.Final")
|
||||
implementation("io.undertow:undertow-websockets-jsr:2.3.14.Final")
|
||||
implementation("org.jboss.xnio:xnio-nio:3.8.16.Final")
|
||||
|
||||
implementation("org.xerial:sqlite-jdbc:3.46.0.0")
|
||||
implementation("com.zaxxer:HikariCP:4.0.3")
|
||||
implementation("nl.astraeus:simple-jdbc-stats:1.6.1")
|
||||
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:0.11.0")
|
||||
}
|
||||
}
|
||||
val jvmMain by getting
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user