frontend
frontend copied to clipboard
[DO NOT MERGE] Use type=module for application.js
What / Why
- Use type=module for this application's JS file
- To coincide with https://github.com/alphagov/govuk_publishing_components/pull/4111
- Has [DO NOT MERGE] as we want the above PR live on
staticfirst before this is merged. - We will combine
es6-components.jsagain as a separate task unless you disagree with this - To accurately test this you will need to use local static that is using a local version the
govuk_publishing_componentsbranch linked above. If you test without, this app'sapplication.jsseems to crash. - Trello card: https://trello.com/c/Hoa45SMD/141-turn-off-javascript-in-legacy-browsers