Small improvements to the build

This commit is contained in:
Pieter Vander Vennet 2024-03-13 01:55:01 +01:00
parent 6656bde6e9
commit e1b3f09e0a
2 changed files with 2 additions and 2 deletions

View file

@ -517,7 +517,7 @@ class GenerateLayouts extends Script {
)
.replace(
/<!-- IMAGE-START -->.*<!-- IMAGE-END -->/s,
"<img class='p-0 h-32 w-32 self-start' src='" + icon + "' />"
"<img class='p-0 mb-8 h-32 w-32 self-start' src='" + icon + "' />"
)
.replace(
/.*\/src\/index\.ts.*/,

View file

@ -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