aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-05-25 13:36:27 +0200
committerRobert Jaros <rjaros@finn.pl>2018-05-25 13:36:27 +0200
commit21331642176b8ab1ddafba254edeca8ed9ad50aa (patch)
treef3aba8c4e3c42a60e3f8263ed25829ce2372ce55 /build.gradle
parentbc8b6d7b24518c233658d10c74ba10e0dc4c2773 (diff)
downloadkvision-21331642176b8ab1ddafba254edeca8ed9ad50aa.tar.gz
kvision-21331642176b8ab1ddafba254edeca8ed9ad50aa.tar.bz2
kvision-21331642176b8ab1ddafba254edeca8ed9ad50aa.zip
Change module kind option to 'umd'.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 0d5cc4ca..e8b8960f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -181,14 +181,14 @@ if (!project.gradle.startParameter.taskNames.contains("dokka")) {
kotlinOptions.metaInfo = true
kotlinOptions.outputFile = "$project.buildDir.path/js/${project.name}.js"
kotlinOptions.sourceMap = !production
- kotlinOptions.moduleKind = 'commonjs'
+ kotlinOptions.moduleKind = 'umd'
}
compileTestKotlin2Js {
kotlinOptions.metaInfo = true
kotlinOptions.outputFile = "$project.buildDir.path/js-tests/${project.name}-tests.js"
kotlinOptions.sourceMap = !production
- kotlinOptions.moduleKind = 'commonjs'
+ kotlinOptions.moduleKind = 'umd'
}
}