Fix build script

This commit is contained in:
pietervdvn 2021-12-23 00:15:09 +01:00
parent 889a923ad7
commit a3c6ac05df

View file

@ -19,7 +19,7 @@ cp -r assets/themes/ dist/assets/themes/
cp -r assets/svg/ dist/assets/svg/ cp -r assets/svg/ dist/assets/svg/
echo -e "\n\n Building non-theme pages" echo -e "\n\n Building non-theme pages"
echo -e " ==========================\n\n" echo -e " ==========================\n\n"
<<<<<<< HEAD parcel build --public-url "./" --no-source-maps "index.html" "404.html" "professional.html" "automaton.html" "land.html" "customGenerator.html" "theme.html" vendor
echo -e "\n\n Building theme pages" echo -e "\n\n Building theme pages"
echo -e " ======================\n\n" echo -e " ======================\n\n"
@ -31,4 +31,4 @@ do
# Builds the necessary files for just one theme, e.g. 'bookcases.html' + 'index_bookcases.ts' + supporting file # Builds the necessary files for just one theme, e.g. 'bookcases.html' + 'index_bookcases.ts' + supporting file
# npm run generate && node --max_old_space_size=12000 $(which parcel) build # npm run generate && node --max_old_space_size=12000 $(which parcel) build
parcel build --public-url './' --no-source-maps "$theme.html" parcel build --public-url './' --no-source-maps "$theme.html"
done done