Scripts: attempt to fix single build

This commit is contained in:
Pieter Vander Vennet 2025-06-17 15:03:59 +02:00
parent bfc01dbfe4
commit dac07090b4
2 changed files with 2 additions and 3 deletions

View file

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