Skip to content

Commit

Permalink
Merge pull request #3320 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 40c1bed + e154f88 commit c84dc30
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
@@ -1,5 +1,4 @@
//= link_tree ../images
//= link application.js
//= link es6-components.js
//= link webchat.js
//= link_tree ../builds
3 changes: 3 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
//= require govuk_publishing_components/lib
//= require govuk_publishing_components/components/accordion
//= 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/metadata
//= require govuk_publishing_components/components/print-link
//= require govuk_publishing_components/components/radio
//= require govuk_publishing_components/components/single-page-notification-button
//= require govuk_publishing_components/components/step-by-step-nav

Expand Down
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 @@ -53,7 +53,6 @@
<%= stylesheet_link_tag "application", :media => "all", integrity: false %>
<%= javascript_include_tag "application", integrity: false, type: "module" %>
<%= javascript_include_tag 'es6-components', type: "module" %>
<%= csrf_meta_tags %>
<%= render 'govuk_publishing_components/components/meta_tags', content_item: @content_item.content_item %>
Expand Down

0 comments on commit c84dc30

Please sign in to comment.