fix(core): update

This commit is contained in:
2019-07-18 18:15:24 +02:00
parent 93fda3944a
commit 31967ab846
2 changed files with 45 additions and 41 deletions

View File

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