Files
jdt-mer/build/script/index.js
Huakk 17230a9736
Some checks failed
CI Build & Deploy / build-and-deploy-prod (push) Failing after 3m34s
CI Build & Deploy / build-and-deploy-dev (push) Has been cancelled
ci(other): cicd
2026-01-19 03:12:13 +08:00

15 lines
315 B
JavaScript

import chalk from 'chalk'
import { runBuildCNAME } from './build-cname'
export const runBuild = async () => {
try {
runBuildCNAME()
console.log(`${chalk.cyan('build successfully!')}`)
} catch (error) {
console.log(chalk.red('vite build error:\n' + error))
process.exit(1)
}
}
runBuild()