Add some hardening against non-generated layouts
This commit is contained in:
parent
5bb6a6bf63
commit
1853af06a0
3 changed files with 38 additions and 7 deletions
|
@ -9,12 +9,22 @@ echo "Starting build"
|
|||
# sanity check
|
||||
if [[ -f "bookcases.html" ]]
|
||||
then
|
||||
echo "Bookcases exists"
|
||||
echo "Bookcases theme exists"
|
||||
else
|
||||
echo "Bookcases.html does not exist - aborting"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# sanity check
|
||||
if [[ -f "waste.html" ]]
|
||||
then
|
||||
echo "Waste theme exists"
|
||||
else
|
||||
echo "waste.html does not exist - aborting"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
export NODE_OPTIONS=--max-old-space-size=16000
|
||||
which vite
|
||||
vite --version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue