Remove test-app.js from the project

This commit is contained in:
2025-05-30 19:54:36 +02:00
parent 14e097a2cb
commit b94a50d6d4
7 changed files with 12 additions and 7 deletions

1
.gitignore vendored
View File

@@ -51,3 +51,4 @@ test-app/kotlin-js-store
test-app/build
test-app/.gradle
test-app/.kotlin
test-app/web

View File

@@ -1,6 +1,7 @@
@file:OptIn(ExperimentalKotlinGradlePluginApi::class)
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.dsl.JsSourceMapEmbedMode
plugins {
kotlin("multiplatform") version "2.1.20"
@@ -9,7 +10,7 @@ plugins {
}
group = "nl.astraeus"
version = "2.0.0"
version = "2.0.1"
repositories {
mavenCentral()
@@ -25,11 +26,14 @@ kotlin {
js {
compilerOptions {
target.set("es2015")
sourceMap.set(true)
sourceMapEmbedSources.set(JsSourceMapEmbedMode.SOURCE_MAP_SOURCE_CONTENT_ALWAYS)
}
binaries.library()
browser {
commonWebpackConfig {
sourceMaps = true
devtool = "inline-source-map"
}
}
}
@@ -45,7 +49,7 @@ kotlin {
}
val jsMain by getting {
dependencies {
api("nl.astraeus:kotlin-komponent:1.2.4")
api("nl.astraeus:kotlin-komponent:1.2.7")
}
}
val jsTest by getting {

View File

@@ -1,6 +1,7 @@
@file:OptIn(ExperimentalKotlinGradlePluginApi::class)
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.dsl.JsSourceMapEmbedMode
plugins {
kotlin("multiplatform") version "2.1.10"
@@ -23,10 +24,13 @@ kotlin {
js {
compilerOptions {
target.set("es2015")
sourceMap.set(true)
sourceMapEmbedSources.set(JsSourceMapEmbedMode.SOURCE_MAP_SOURCE_CONTENT_ALWAYS)
}
browser {
commonWebpackConfig {
sourceMaps = true
devtool = "inline-source-map"
}
binaries.executable()
distribution {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
test-app/web/web.txt Normal file
View File

@@ -0,0 +1 @@
Target directory for the generated web content