aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
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'
}
}