Files
aklive2d/apps/directory/runner.ts
2025-10-05 18:39:22 +08:00

13 lines
285 B
TypeScript

import path from 'node:path'
import { file } from '@aklive2d/libs'
import { DIST_DIR } from '@aklive2d/showcase'
import { build as viteBuild } from 'vite'
async function main() {
await viteBuild()
const releaseDir = path.resolve(DIST_DIR)
file.rmdir(releaseDir)
}
main()