#!/bin/bash cd "$(dirname "$0")/infogenie-frontend" echo "[InfoGenie] 构建前端生产版本..." npm run build echo "[InfoGenie] 构建完成,产物目录: infogenie-frontend/build/"