fix(core): update

This commit is contained in:
2019-07-19 10:52:27 +02:00
parent 1af1908e1d
commit 455e33488d
3 changed files with 19 additions and 9 deletions

View File

@@ -10,12 +10,12 @@ export const runCli = async () => {
const htmlHandler = new HtmlHandler();
switch (true) {
case argvArg.production || process.env.CI:
await tsbundle.buildProduction(null, null);
await tsbundle.buildProduction(argvArg.from, argvArg.to);
await htmlHandler.minifyHtml();
break;
case argvArg.test:
default:
await tsbundle.buildTest(null, null);
await tsbundle.buildTest(argvArg.from, argvArg.to);
await htmlHandler.copyHtml();
return;
}