()
| 40 | } |
| 41 | |
| 42 | async function build() { |
| 43 | consola.info('Clean up') |
| 44 | exec('pnpm run clean', { stdio: 'inherit' }) |
| 45 | |
| 46 | consola.info('Generate Imports') |
| 47 | await updateImport(metadata) |
| 48 | |
| 49 | consola.info('Rollup') |
| 50 | exec(`pnpm run build:rollup${watch ? ' -- --watch' : ''}`, { stdio: 'inherit' }) |
| 51 | |
| 52 | await buildMetaFiles() |
| 53 | } |
| 54 | |
| 55 | async function cli() { |
| 56 | try { |
no test coverage detected