blob: 5b18966fcd3b1e29967271fbd7d96acf5f2bfd68 [file] [log] [blame]
/*
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
kotlin {
js(LEGACY) {
binaries.executable()
browser {
distribution {
directory = directory.parentFile.resolve("dist")
}
commonWebpackConfig {
cssSupport.enabled = true
}
testTask {
useKarma {
useChromeHeadless()
}
}
}
}
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-html-js:${version("html")}")
implementation(devNpm("html-webpack-plugin", "3.2.0"))
}