diff options
Diffstat (limited to 'kvision-modules/kvision-richtext')
-rw-r--r-- | kvision-modules/kvision-richtext/build.gradle.kts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kvision-modules/kvision-richtext/build.gradle.kts b/kvision-modules/kvision-richtext/build.gradle.kts index b52b398d..f9aea3e7 100644 --- a/kvision-modules/kvision-richtext/build.gradle.kts +++ b/kvision-modules/kvision-richtext/build.gradle.kts @@ -52,7 +52,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 { |