readd public-url flag
This commit is contained in:
parent
630bcd8dad
commit
6517741f70
1 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ cp -r assets/themes/ dist/assets/themes/
|
|||
cp -r assets/svg/ dist/assets/svg/
|
||||
echo "\n\n Building non-theme pages"
|
||||
echo " ==========================\n\n"
|
||||
parcel build --no-source-maps "index.html" "404.html" "professional.html" "automaton.html" "land.html" "customGenerator.html" "theme.html" vendor
|
||||
parcel build --public-url './' --no-source-maps "index.html" "404.html" "professional.html" "automaton.html" "land.html" "customGenerator.html" "theme.html" vendor
|
||||
echo "\n\n Building theme pages"
|
||||
echo " ======================\n\n"
|
||||
|
||||
|
@ -25,7 +25,7 @@ do
|
|||
echo " ------------ \n\n"
|
||||
# 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
|
||||
parcel build --no-source-maps "$theme.html"
|
||||
parcel build --public-url './' --no-source-maps "$theme.html"
|
||||
done
|
||||
|
||||
# Optimize images
|
||||
|
|
Loading…
Reference in a new issue