forked from MapComplete/MapComplete
Scripts: attempt to fix single build
This commit is contained in:
parent
bfc01dbfe4
commit
dac07090b4
2 changed files with 2 additions and 3 deletions
|
|
@ -8,7 +8,6 @@ if [ $# -eq 0 ]
|
|||
echo "No arguments given. Expected a themename"
|
||||
fi
|
||||
|
||||
npm run prep:layeroverview
|
||||
npm run reset:layeroverview
|
||||
npm run test
|
||||
npm run generate:layouts
|
||||
|
|
@ -39,7 +38,7 @@ rm index.html
|
|||
cp "$THEME.html" index.html
|
||||
|
||||
sed -i "s/input,/input: {index:\".\/index.html\", land: \".\/land.html\"},/" vite_single.config.js
|
||||
sed -i "s/\/\/ LAYOUT.ADD_CONFIG/layout.enableMoreQuests = false/" index_"$THEME".ts
|
||||
sed -i "s/\/\/ LAYOUT.ADD_CONFIG/theme.enableMoreQuests = false/" index_"$THEME".ts
|
||||
|
||||
|
||||
export NODE_OPTIONS=--max-old-space-size=20000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue