From 92887d4c7fee8148027077fac328416fa757e4a4 Mon Sep 17 00:00:00 2001 From: Jani Kraner Date: Wed, 23 Oct 2024 16:18:41 +0100 Subject: [PATCH] Include manifest.json from govuk-frontend This file specifies favicons and it needs to be bundled with the gem --- govuk_tech_docs.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/govuk_tech_docs.gemspec b/govuk_tech_docs.gemspec index 5bf199cf..4a1650d1 100644 --- a/govuk_tech_docs.gemspec +++ b/govuk_tech_docs.gemspec @@ -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