From e1b3f09e0a64ccf04ba8e00653707df3aae32e6e Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 13 Mar 2024 01:55:01 +0100 Subject: [PATCH] Small improvements to the build --- scripts/generateLayouts.ts | 2 +- scripts/prepare-build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generateLayouts.ts b/scripts/generateLayouts.ts index c3fafbc96..d1056c485 100644 --- a/scripts/generateLayouts.ts +++ b/scripts/generateLayouts.ts @@ -517,7 +517,7 @@ class GenerateLayouts extends Script { ) .replace( /.*/s, - "" + "" ) .replace( /.*\/src\/index\.ts.*/, diff --git a/scripts/prepare-build.sh b/scripts/prepare-build.sh index 2f2543ed5..0e387bb62 100755 --- a/scripts/prepare-build.sh +++ b/scripts/prepare-build.sh @@ -18,7 +18,7 @@ npm run prep:layeroverview && npm run generate && # includes a single "refresh:layeroverview". Resetting the files is unnecessary as they are not in there in the first place npm run generate:mapcomplete-changes-theme && npm run refresh:layeroverview && # run refresh:layeroverview a second time to propagate all calls -npm run generate:layeroverview && npm run generate:layeroverview && # run refresh:layeroverview a third and fourth time to fix some issues with the favourite layer all calls +npm run generate:layeroverview && # run refresh:layeroverview a third time to fix some issues with the favourite layer all calls npm run generate:layouts