feat(cli): reload vant config

This commit is contained in:
陈嘉涵
2019-12-05 10:11:22 +08:00
parent b19b287276
commit 207089b2ca
8 changed files with 39 additions and 39 deletions

View File

@@ -10,7 +10,7 @@ import {
import {
SRC_DIR,
DOCS_DIR,
CONFIG_FILE,
VANT_CONFIG_FILE,
SITE_DESKTOP_SHARED_FILE
} from '../common/constant';
@@ -51,7 +51,7 @@ function genExportDocuments(items: DocumentItem[]) {
}
function genImportConfig() {
return `import config from '${removeExt(CONFIG_FILE)}';`;
return `import config from '${removeExt(VANT_CONFIG_FILE)}';`;
}
function genExportConfig() {