From 0ed5b50e439b34554ea4d1e630de1a03eeb3153b Mon Sep 17 00:00:00 2001 From: Mikael Grankvist Date: Wed, 8 Sep 2021 13:54:17 +0300 Subject: [PATCH] Add dependency that sometimes doesn't come --- .../main/java/com/vaadin/flow/server/frontend/NodeUpdater.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flow-server/src/main/java/com/vaadin/flow/server/frontend/NodeUpdater.java b/flow-server/src/main/java/com/vaadin/flow/server/frontend/NodeUpdater.java index 61114afdd64..12908ed12dd 100644 --- a/flow-server/src/main/java/com/vaadin/flow/server/frontend/NodeUpdater.java +++ b/flow-server/src/main/java/com/vaadin/flow/server/frontend/NodeUpdater.java @@ -312,6 +312,8 @@ static Map getDefaultDevDependencies() { // Defining loader until a resolution exists to issue // https://github.com/DanielSchaffer/webpack-babel-multi-target-plugin/issues/94 defaults.put("babel-loader", "8.2.2"); + // Defining html-webpack-plugin due to same issue as babel-loader + defaults.put("html-webpack-plugin", "4.5.2"); defaults.put("copy-webpack-plugin", "5.1.2"); defaults.put("compression-webpack-plugin", "4.0.1"); defaults.put("extra-watch-webpack-plugin", "1.0.3");