Skip to content

Commit

Permalink
Include manifest.json from govuk-frontend
Browse files Browse the repository at this point in the history
This file specifies favicons and it needs to be bundled with the gem
  • Loading branch information
kr8n3r committed Oct 23, 2024
1 parent cb5aea0 commit 90677e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion govuk_tech_docs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
files_in_git = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }

# Include assets from GOV.UK Frontend library in the distributed gem
govuk_frontend_assets = Dir["node_modules/govuk-frontend/**/*.{scss,js,mjs,woff,woff2,png,svg,ico}"]
govuk_frontend_assets = Dir["node_modules/govuk-frontend/**/*.{scss,js,mjs,woff,woff2,png,svg,ico}", "node_modules/govuk-frontend/dist/govuk/assets/manifest.json"]

spec.files = files_in_git + govuk_frontend_assets

Expand Down

0 comments on commit 90677e6

Please sign in to comment.