Skip to content

Commit

Permalink
Merge pull request #6881 from alphagov/type-module-cleanup
Browse files Browse the repository at this point in the history
Move es6-components.js back into application.js
  • Loading branch information
AshGDS authored Sep 9, 2024
2 parents b23ca71 + 7ebe2dc commit 9abc41e
Show file tree
Hide file tree
Showing 4 changed files with 3 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
Expand Up @@ -2,7 +2,6 @@

//= link joint.css
//= link application.js
//= link es6-components.js
//= link dagre.js
//= link joint.layout.DirectedGraph.js
//= link joint.js
Expand Down
3 changes: 3 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
//= require govuk_publishing_components/lib
//= require govuk_publishing_components/components/checkboxes
//= require govuk_publishing_components/components/error-summary
//= require govuk_publishing_components/components/govspeak
//= require govuk_publishing_components/components/intervention
//= require govuk_publishing_components/components/print-link
//= require govuk_publishing_components/components/radio
//= require govuk_publishing_components/components/step-by-step-nav
//= require govuk_publishing_components/components/table
12 changes: 0 additions & 12 deletions app/assets/javascripts/es6-components.js

This file was deleted.

1 change: 0 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<%= csp_meta_tag %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "test-dependencies", type: "module" if Rails.env.test? %>
<%= javascript_include_tag "es6-components", type: "module" %>
<%= javascript_include_tag "application", defer: true, type: "module" %>
<%= yield :head %>
<% if content_item %>
Expand Down

0 comments on commit 9abc41e

Please sign in to comment.