aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap-upload/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-bootstrap-upload/build.gradle.kts')
-rw-r--r--kvision-modules/kvision-bootstrap-upload/build.gradle.kts4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvision-modules/kvision-bootstrap-upload/build.gradle.kts b/kvision-modules/kvision-bootstrap-upload/build.gradle.kts
index 4fcaa183..ccafbf30 100644
--- a/kvision-modules/kvision-bootstrap-upload/build.gradle.kts
+++ b/kvision-modules/kvision-bootstrap-upload/build.gradle.kts
@@ -56,7 +56,9 @@ fun copyResources() {
tasks {
getByName("JsJar", Jar::class) {
- from("${rootProject.buildDir}/js/packages/kvision-${project.name}/package.json")
+ from("${rootProject.buildDir}/js/packages/kvision-${project.name}/package.json") {
+ filter { it.replace("\"main\": \"kotlin/kvision-kvision", "\"main\": \"kvision-kvision") }
+ }
}
getByName("compileTestKotlinJs") {
doLast {