Closed colinrotherham closed 11 months ago
This PR switches application.js to <script type"module"> to fix:
application.js
<script type"module">
This change defers script load by default and also ensures:
import { Accordion } from
This follows GOV.UK Frontend to protect browsers without ES6 modules support from script errors, such as:
Moved the CHANGELOG entry into Unreleased
This PR switches
application.js
to<script type"module">
to fix:This change defers script load by default and also ensures:
import { Accordion } from
syntax support in GOV.UK Frontend v5Browser support
This follows GOV.UK Frontend to protect browsers without ES6 modules support from script errors, such as: