Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script maps #1955

Closed
wants to merge 1 commit into from
Closed

Conversation

BenSurgisonGDS
Copy link
Contributor

@BenSurgisonGDS BenSurgisonGDS commented Feb 3, 2023

See Using GOV.UK Frontend 4.5.0, opening dev tools causes an error in the terminal

This change will prevent the failure within the browser to load any script mapping file such as govuk-frontend/govuk/all.js.map

To achieve this, the plugin config scripts are parsed to dynamically update the plugin config assets with the location of any matching script map files if they exist.

@BenSurgisonGDS BenSurgisonGDS force-pushed the javascript-loading-code-maps-error branch from 8697389 to 7dcb65a Compare February 6, 2023 12:06
@nataliecarey
Copy link
Contributor

As this functionality is available with the existing plug-in functionality I've spoken with the Design System Team and raise this PR for them alphagov/govuk-frontend#3255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using GOV.UK Frontend 4.5.0, opening dev tools causes an error in the terminal
2 participants