first commit

This commit is contained in:
mizhexiaxiao
2023-08-15 16:09:22 +08:00
committed by mizhexiaoxiao
parent 03efc0558d
commit 0586412ffa
167 changed files with 16669 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
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()