From 6d6ce7cbabd1465c69980bd6caac128cb66950c1 Mon Sep 17 00:00:00 2001 From: Anton Bannykh Date: Mon, 16 Oct 2017 18:55:09 +0300 Subject: [PATCH] JS: publish to NPM sourcemaps and *.kjsm files --- libraries/kotlin.test/js/build.gradle | 3 +++ node_utils.xml | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/libraries/kotlin.test/js/build.gradle b/libraries/kotlin.test/js/build.gradle index b2304d89ddb..a83851d5d31 100644 --- a/libraries/kotlin.test/js/build.gradle +++ b/libraries/kotlin.test/js/build.gradle @@ -16,6 +16,9 @@ compileKotlin2Js { kotlinOptions { moduleKind = "umd" outputFile = "${buildDir}/classes/main/kotlin-test.js" + sourceMap = true + sourceMapPrefix = "./" + sourceMapEmbedSources = "always" } } diff --git a/node_utils.xml b/node_utils.xml index f7fd33af685..8ed736c687e 100644 --- a/node_utils.xml +++ b/node_utils.xml @@ -112,6 +112,10 @@ + + + + @@ -128,6 +132,10 @@ + + + +