From 31918504e3c0da7d1f1ca4d418739dbf16d5c728 Mon Sep 17 00:00:00 2001 From: Dilwoar Hussain Date: Tue, 22 Oct 2024 16:33:37 +0100 Subject: [PATCH] Refactor Makefile to copy GOVUK Frontend assets correctly Previously the assets were being copied into the `govuk` folder rather than `govuk/assets` --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a10127be..aa00f46f 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,8 @@ frontend: make govukAssets rsync -r assets/images static/ cp node_modules/maplibre-gl/dist/maplibre-gl.css static/stylesheets/maplibre-gl.css - cp -r node_modules/govuk-frontend/govuk/assets static/govuk + mkdir -p static/govuk/assets + cp -r node_modules/govuk-frontend/govuk/assets/* static/govuk/assets frontend-all: clean frontend