mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-19 06:41:33 +03:00
14 lines
286 B
JavaScript
14 lines
286 B
JavaScript
import { command } from 'execa'
|
|
|
|
import log from '@/helpers/log'
|
|
|
|
/**
|
|
* Build web app
|
|
*/
|
|
export default () => new Promise(async (resolve) => {
|
|
await command('vite --config app/vite.config.js build', { shell: true, stdout: 'inherit' })
|
|
|
|
log.success('Web app built')
|
|
resolve()
|
|
})
|