refactor(@vant/cli): migrate to ESM package

This commit is contained in:
chenjiahan
2021-10-28 20:09:00 +08:00
committed by neverland
parent eec2ac4c0f
commit 1b45f38133
50 changed files with 255 additions and 196 deletions
+4 -2
View File
@@ -1,11 +1,13 @@
import { remove } from 'fs-extra';
import fse from 'fs-extra';
import {
ES_DIR,
LIB_DIR,
DIST_DIR,
VETUR_DIR,
SITE_DIST_DIR,
} from '../common/constant';
} from '../common/constant.js';
const { remove } = fse;
export async function clean() {
await Promise.all([