Skip to content

Commit

Permalink
add the esbuild bundle to the application asset pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed May 29, 2022
1 parent 98d133c commit 6c1d365
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@
//= require projects
//= require submissions

//= require application_esbuild


Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Entry point for the build script in your package.json
import "./controllers"
import "./controllers"
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>BioportalWebUi</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= csrf_meta_tags %>
<%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>
<%= javascript_include_tag "application"%>
</head>
<body class="<%= controller_name %> <%= action_name %>">

Expand Down

0 comments on commit 6c1d365

Please sign in to comment.