aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-i18n
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-i18n')
-rw-r--r--kvision-modules/kvision-i18n/build.gradle.kts4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvision-modules/kvision-i18n/build.gradle.kts b/kvision-modules/kvision-i18n/build.gradle.kts
index 80a20619..f074b84f 100644
--- a/kvision-modules/kvision-i18n/build.gradle.kts
+++ b/kvision-modules/kvision-i18n/build.gradle.kts
@@ -41,6 +41,8 @@ setupPublication()
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") }
+ }
}
}