all repos — site @ 39c2f91c086dd56a4f5b1bf5931bb0bc261e29df

source for my site, found at icyphox.sh

bin/build.sh: check if VITE_ENV is production
Anirudh Oppiliappan x@icyphox.sh
Sun, 19 Jan 2025 21:46:44 +0200
commit

39c2f91c086dd56a4f5b1bf5931bb0bc261e29df

parent

30efb21bc1a54bafd7fb7ccce417ca5cd9007d09

1 files changed, 7 insertions(+), 1 deletions(-)

jump to
M bin/build.shbin/build.sh

@@ -1,7 +1,13 @@

#!/bin/sh + rm -rf go-vite git clone https://github.com/icyphox/go-vite cd go-vite && make && cd .. mkdir build -go-vite/vite build --drafts + +if [ "$VITE_ENV" = "production" ]; then + go-vite/vite build +else + go-vite/vite build --drafts +fi