Skip to content

Commit

Permalink
Merge pull request #1843 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 ad05b49 + 9587a34 commit 4b5334b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//= link application.js
//= link es6-components.js

//= link_tree ../builds
2 changes: 2 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
//= require govuk_publishing_components/lib
//= require govuk_publishing_components/components/error-summary
//= require govuk_publishing_components/components/radio
2 changes: 0 additions & 2 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 @@ -43,6 +43,5 @@
<body class="govuk-template__body">
<%= yield :body %>
<%= javascript_include_tag 'application', type: "module" %>
<%= javascript_include_tag "es6-components", type: "module" %>
</body>
</html>

0 comments on commit 4b5334b

Please sign in to comment.