refactor(@vant/cli): remove vetur configs (#10866)

This commit is contained in:
neverland
2022-07-30 19:55:17 +08:00
committed by GitHub
parent 729e283ab5
commit e6b43db90b
24 changed files with 112 additions and 337 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ import { genStyleDepsMap } from '../compiler/gen-style-deps-map.js';
import { genComponentStyle } from '../compiler/gen-component-style.js';
import { SRC_DIR, LIB_DIR, ES_DIR } from '../common/constant.js';
import { genPackageStyle } from '../compiler/gen-package-style.js';
import { genVeturConfig } from '../compiler/gen-vetur-config.js';
import { genWebStormTypes } from '../compiler/web-types/index.js';
import {
isDir,
isSfc,
@@ -137,7 +137,7 @@ async function buildPackageStyleEntry() {
async function buildBundledOutputs() {
setModuleEnv('esmodule');
await compileBundles();
genVeturConfig();
genWebStormTypes();
}
const tasks = [
-2
View File
@@ -3,7 +3,6 @@ import {
ES_DIR,
LIB_DIR,
DIST_DIR,
VETUR_DIR,
SITE_DIST_DIR,
} from '../common/constant.js';
@@ -14,7 +13,6 @@ export async function clean() {
remove(ES_DIR),
remove(LIB_DIR),
remove(DIST_DIR),
remove(VETUR_DIR),
remove(SITE_DIST_DIR),
]);
}