diff --git a/scripts/build.sh b/scripts/build.sh index bfae826c2..e84f6dff7 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -13,10 +13,10 @@ mkdir dist/assets 2> /dev/null export NODE_OPTIONS="--max-old-space-size=16384" # This script ends every line with '&&' to chain everything. A failure will thus stop the build -npm run generate:editor-layer-index && -npm run generate && -npm run refresh:layeroverview && -npm run generate:layouts +# npm run generate:editor-layer-index && +# npm run generate && +# npm run refresh:layeroverview && # an extra refersh is needed, as the favourites layer won't have expanded icons otherwise +# npm run generate:layouts if [ $? -ne 0 ]; then echo "ERROR - stopping the build" @@ -51,7 +51,8 @@ fi export NODE_OPTIONS=--max-old-space-size=16000 which vite -vite build --sourcemap +vite --version +vite build # --sourcemap # Copy the layer files, as these might contain assets (e.g. svgs) cp -r assets/layers/ dist/assets/layers/ cp -r assets/themes/ dist/assets/themes/