Skip to content

Commit

Permalink
Move es6-components.js back into application.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGDS committed Sep 2, 2024
1 parent 0b93861 commit fa8485c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
1 change: 0 additions & 1 deletion app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//= link_tree ../images
//= link es6-components.js
//= link application.js
//= link main.js
//= link dependencies.js
Expand Down
3 changes: 3 additions & 0 deletions app/assets/javascripts/dependencies.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// This file contains the dependencies required by the application.
//= require govuk_publishing_components/lib
//= require govuk_publishing_components/components/error-summary
//= require govuk_publishing_components/components/govspeak
//= require govuk_publishing_components/components/image-card
//= require govuk_publishing_components/components/intervention
//= require govuk_publishing_components/components/radio
//= require govuk_publishing_components/components/step-by-step-nav
//= require govuk_publishing_components/components/table
//= require govuk_publishing_components/components/tabs
12 changes: 0 additions & 12 deletions app/assets/javascripts/es6-components.js

This file was deleted.

2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<%= javascript_include_tag 'test-dependencies.js', type: "module" if Rails.env.test? %>
<%= javascript_include_tag 'application.js', integrity: false, type: "module" %>
<%= javascript_include_tag 'es6-components.js', type: "module" %>

<%= yield :extra_javascript %>
<%= yield :extra_headers %>
<% if content_item_hash %>
Expand Down

0 comments on commit fa8485c

Please sign in to comment.