Files
2026-07-13 12:44:08 +08:00

19 lines
367 B
JavaScript

import { command } from 'execa'
import { LogHelper } from '@/helpers/log-helper'
/**
* Build web app
*/
export default async function buildApp(options = {}) {
const { quiet = false } = options
await command('vite build --config app/vite.config.js', {
stdio: quiet ? 'ignore' : 'inherit'
})
if (!quiet) {
LogHelper.success('Web app built')
}
}