Override dotenv version of VITE_PLATFORM_LOGO
This commit is contained in:
@@ -22,7 +22,8 @@ if [[ $VITE_PLATFORM_LOGO =~ ^https:// ]]; then
|
||||
export VITE_PLATFORM_LOGO=static/logo.png
|
||||
fi
|
||||
|
||||
npx pwa-assets-generator
|
||||
# Ensure generator uses local path (dotenv may have loaded URL from .env)
|
||||
VITE_PLATFORM_LOGO="${VITE_PLATFORM_LOGO}" npx pwa-assets-generator
|
||||
npx vite build
|
||||
|
||||
# Replace index.html variables with stuff from our env
|
||||
|
||||
Reference in New Issue
Block a user