mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
11 lines
293 B
TypeScript
11 lines
293 B
TypeScript
import { emptyDir } from 'fs-extra';
|
|
import { setNodeEnv } from '../common';
|
|
import { compileSite } from '../compiler/compile-site';
|
|
import { DIST_DIR } from '../common/constant';
|
|
|
|
export async function dev() {
|
|
setNodeEnv('development');
|
|
await emptyDir(DIST_DIR);
|
|
await compileSite();
|
|
}
|