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