forked from MapComplete/MapComplete
Small improvements to the build
This commit is contained in:
parent
6656bde6e9
commit
e1b3f09e0a
2 changed files with 2 additions and 2 deletions
|
@ -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.*/,
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue