Files
artcraft/script/website/unix_frontend_website_production_build.sh
T

19 lines
345 B
Bash
Executable File

#!/usr/bin/env bash
# This works on Linux and MacOS to launch the frontend dev server
root_dir=$(pwd)
frontend_path="${root_dir}/frontend"
echo "Building Artcraft Website in Production Mode..."
echo ""
pushd "${frontend_path}" || exit
npm install --verbose
export VITE_ENVIRONMENT_TYPE="production"
nx build artcraft-website
popd || exit