mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
12 lines
276 B
TypeScript
12 lines
276 B
TypeScript
import { emptyDir } from 'fs-extra';
|
|
import { ES_DIR, LIB_DIR, DIST_DIR, SITE_DIST_DIR } from '../common/constant';
|
|
|
|
export async function clean() {
|
|
await Promise.all([
|
|
emptyDir(ES_DIR),
|
|
emptyDir(LIB_DIR),
|
|
emptyDir(DIST_DIR),
|
|
emptyDir(SITE_DIST_DIR)
|
|
]);
|
|
}
|