Skip to content

Commit

Permalink
Merge pull request #3255 from alphagov/source-maps-in-prototype-kit
Browse files Browse the repository at this point in the history
  • Loading branch information
romaricpascal authored Mar 2, 2023
2 parents 4651dca + ed21817 commit 62c5472
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ You can also silence these deprecation warnings by adding `ie8` to the [$govuk-s

We’ve made fixes to GOV.UK Frontend in the following pull requests:

- [#3255: Including the JavaScript source map in the prototype kit config](https://github.com/alphagov/govuk-frontend/pull/3255)
- [#3272: Add empty alt attribute to logo IE8 fallback PNG](https://github.com/alphagov/govuk-frontend/pull/3272)
- [#3306: Re-enable complete hover link styles on the footer](https://github.com/alphagov/govuk-frontend/pull/3306)
- [#3312: Add default value for warning text icon fallback attribute](https://github.com/alphagov/govuk-frontend/pull/3312)
Expand Down
3 changes: 2 additions & 1 deletion src/govuk-prototype-kit/govuk-prototype-kit.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export default async () => {

return {
assets: [
'/govuk/assets'
'/govuk/assets',
'/govuk/all.js.map'
],
sass: [
'/govuk-prototype-kit/init.scss'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ describe('GOV.UK Prototype Kit config', () => {

it('includes paths for assets, scripts, sass', () => {
expect(config.assets).toEqual([
'/govuk/assets'
'/govuk/assets',
'/govuk/all.js.map'
])

expect(config.sass).toEqual([
Expand Down

0 comments on commit 62c5472

Please sign in to comment.