You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- import chalk from 'chalk'
- import { runBuildConfig } from './build-config'
- import { runBuildCNAME } from './build-cname'
-
- export const runBuild = async () => {
- try {
- runBuildConfig()
- runBuildCNAME()
- console.log(`✨ ${chalk.cyan('build successfully!')}`)
- } catch (error) {
- console.log(chalk.red('vite build error:\n' + error))
- process.exit(1)
- }
- }
-
- runBuild()
|