diff app/views/layouts/application.html.erb @ 489:361ab9e7ffad

Replace webpacker with esbuild and use plain js instead of coffee
author nanaya <me@nanaya.net>
date Tue, 17 Jan 2023 02:34:06 +0900
parents b26dd8fa1c26
children cd84252dd0bf
line wrap: on
line diff
--- a/app/views/layouts/application.html.erb	Tue Jan 17 01:53:36 2023 +0900
+++ b/app/views/layouts/application.html.erb	Tue Jan 17 02:34:06 2023 +0900
@@ -4,6 +4,8 @@
     <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
     <title><%= html_title %></title>
     <meta name="viewport" content="width=device-width, initial-scale=1">
+    <%= javascript_include_tag :application_classic %>
+    <%= javascript_include_tag :application %>
     <%= stylesheet_link_tag "application", :media => "all" %>
   </head>
   <body>
@@ -79,6 +81,5 @@
       </div>
     </div>
 
-    <%= javascript_pack_tag "application" %>
   </body>
 </html>