chore(cli): rename some files

This commit is contained in:
陈嘉涵
2019-11-29 14:17:40 +08:00
parent afc6113938
commit 736bac00b9
14 changed files with 102 additions and 141 deletions
+4 -2
View File
@@ -7,8 +7,9 @@ import { remove, copy, readdirSync } from 'fs-extra';
import { compileJs } from '../compiler/compile-js';
import { compileSfc } from '../compiler/compile-sfc';
import { compileStyle } from '../compiler/compile-style';
import { genStyleEntry } from '../compiler/gen-style-entry';
import { genPackageEntry } from '../compiler/gen-package-entry';
import { genStyleDepsMap } from '../compiler/gen-style-deps-map';
import { genComponentStyle } from '../compiler/gen-component-style';
import { SRC_DIR, LIB_DIR, ES_DIR } from '../common/constant';
import {
isDir,
@@ -99,7 +100,8 @@ export async function buildStyleEntry() {
start('Build style entry');
try {
genStyleEntry();
genStyleDepsMap();
genComponentStyle();
success('Build style entry');
} catch (err) {
error('Build style entry');