chore(cli): split compilers

This commit is contained in:
陈嘉涵
2019-11-29 13:20:43 +08:00
parent e2c9628316
commit 51d2512311
9 changed files with 90 additions and 74 deletions

View File

@@ -5,6 +5,7 @@ import { clean } from '../commands/clean';
import { buildESModuleOutputs } from './build';
import { siteDevConfig } from '../config/webpack.site.dev';
import { genPackageEntry } from '../compiler/gen-package-entry';
import { genPacakgeStyle } from '../compiler/gen-package-style';
import { genMobileEntry } from '../compiler/gen-mobile-entry';
import { genDesktopEntry } from '../compiler/gen-desktop-entry';
import { genDepsMap } from '../compiler/gen-style-deps-map';
@@ -39,6 +40,7 @@ export async function dev() {
await buildESModuleOutputs();
genDepsMap();
genPackageEntry();
genPacakgeStyle();
genMobileEntry();
genDesktopEntry();
runWebpack();