diff options
Diffstat (limited to 'kvision-modules/kvision-redux')
-rw-r--r-- | kvision-modules/kvision-redux/build.gradle.kts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kvision-modules/kvision-redux/build.gradle.kts b/kvision-modules/kvision-redux/build.gradle.kts index 15e65cf2..0fca329d 100644 --- a/kvision-modules/kvision-redux/build.gradle.kts +++ b/kvision-modules/kvision-redux/build.gradle.kts @@ -47,6 +47,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") } + } } } |