From 661366715bcc49f8b8922ea2d61fa039dab412a0 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 21 Apr 2022 14:19:38 -0400 Subject: [PATCH] Specify webpack-dev-server to be v3 --- lib/install/template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install/template.rb b/lib/install/template.rb index 697b3b5be..2afaf1aa8 100644 --- a/lib/install/template.rb +++ b/lib/install/template.rb @@ -43,7 +43,7 @@ end say "Installing dev server for live reloading" -run "yarn add --dev webpack-dev-server" +run "yarn add --dev webpack-dev-server@^3" if Rails::VERSION::MAJOR == 5 && Rails::VERSION::MINOR > 1 say "You need to allow webpack-dev-server host as allowed origin for connect-src.", :yellow