From 21331642176b8ab1ddafba254edeca8ed9ad50aa Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 25 May 2018 13:36:27 +0200 Subject: Change module kind option to 'umd'. --- build.gradle | 4 ++-- 1 file 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' } } -- cgit