Skip to content

Commit

Permalink
Merge pull request #5129 from alphagov/fix-dist-assets-encoding
Browse files Browse the repository at this point in the history
Fix encoding of assets when Gulp copies them for release
  • Loading branch information
romaricpascal authored Jul 12, 2024
2 parents 2852b38 + e5bfa93 commit b985ba6
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 1 deletion.
Binary file modified dist/assets/fonts/bold-affa96571d-v2.woff
Binary file not shown.
Binary file modified dist/assets/fonts/bold-b542beb274-v2.woff2
Binary file not shown.
Binary file modified dist/assets/fonts/light-94a07e06a1-v2.woff2
Binary file not shown.
Binary file modified dist/assets/fonts/light-f591b13f7d-v2.woff
Binary file not shown.
Binary file modified dist/assets/images/favicon.ico
Binary file not shown.
Binary file modified dist/assets/images/govuk-crest-2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/govuk-crest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/govuk-icon-180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/govuk-icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/govuk-icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/assets/images/govuk-opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion packages/govuk-frontend/tasks/build/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export default (options) =>
gulp
.src('govuk/assets/**/*', {
base: join(options.srcPath, 'govuk'),
cwd: options.srcPath
cwd: options.srcPath,
encoding: false
})
.pipe(gulp.dest(options.destPath))
),
Expand Down

0 comments on commit b985ba6

Please sign in to comment.