fix(core): update

This commit is contained in:
2021-07-23 15:45:23 +02:00
parent 07718ba618
commit ba44efe4cc
7 changed files with 449 additions and 147 deletions

View File

@ -15,7 +15,7 @@ export const runCli = async () => {
break;
case argvArg.test:
default:
await tsbundle.buildTest(argvArg.from, argvArg.to);
await tsbundle.buildTest(process.cwd(), argvArg.from, argvArg.to, 'rollup');
// await htmlHandler.copyHtml();
return;
}
@ -31,7 +31,7 @@ export const runCli = async () => {
break;
case argvArg.test:
default:
await tsbundle.buildTest('./ts_web/index.ts', './dist_bundle/bundle.js');
await tsbundle.buildTest(process.cwd(), './ts_web/index.ts', './dist_bundle/bundle.js', 'rollup');
// await htmlHandler.copyHtml();
return;
}
@ -47,7 +47,7 @@ export const runCli = async () => {
break;
case argvArg.test:
default:
await tsbundle.buildTest('./ts/index.ts', './dist_bundle/bundle.js');
await tsbundle.buildTest(process.cwd(), './ts/index.ts', './dist_bundle/bundle.js', 'rollup');
// await htmlHandler.copyHtml();
return;
}
@ -63,7 +63,7 @@ export const runCli = async () => {
break;
case argvArg.test:
default:
await tsbundle.buildTest('./ts_web/index.ts', './dist_serve/bundle.js');
await tsbundle.buildTest(process.cwd(), './ts_web/index.ts', './dist_serve/bundle.js', 'rollup');
await htmlHandler.copyHtml();
return;
}