first commit

This commit is contained in:
zhangchuanlong
2022-01-08 17:20:46 +08:00
commit 8d0158be7c
80 changed files with 5240 additions and 0 deletions

14
build/script/index.js Normal file
View File

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