You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jo...@apache.org on 2021/08/19 11:05:08 UTC
[isis] 01/02: ISIS-2838 Fix for webpack-cli bug (KT-48273)
This is an automated email from the ASF dual-hosted git repository.
joergrade pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 82c7d949cc4b7484b00eed88e0bb0359afeb2323
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Thu Aug 19 12:22:30 2021 +0200
ISIS-2838 Fix for webpack-cli bug (KT-48273)
---
incubator/clients/kroviz/build.gradle.kts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/incubator/clients/kroviz/build.gradle.kts b/incubator/clients/kroviz/build.gradle.kts
index 116687c..a498c12 100644
--- a/incubator/clients/kroviz/build.gradle.kts
+++ b/incubator/clients/kroviz/build.gradle.kts
@@ -16,6 +16,7 @@
// specific language governing permissions and limitations
// under the License.
//
+import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpack
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig
@@ -119,6 +120,9 @@ tasks {
}
}
afterEvaluate {
+ extensions.configure<NodeJsRootExtension> {
+ versions.webpackDevServer.version = "4.0.0"
+ }
tasks {
getByName("processResources", Copy::class) {
dependsOn("compileKotlinJs")