fix(core): update

This commit is contained in:
2022-03-16 11:52:59 +01:00
parent 576ec20e3c
commit bf3ba08dde
3 changed files with 103 additions and 116 deletions

View File

@ -55,15 +55,15 @@ const run = async () => {
if (transportOptions.mode === 'test') {
console.log('building for test:')
tsbundleProcessInstance.buildTest(
plugins.path.join(process.cwd(), transportOptions.from),
plugins.path.join(process.cwd(), transportOptions.to),
plugins.smartpath.transform.makeAbsolute(transportOptions.from, process.cwd()),
plugins.smartpath.transform.makeAbsolute(transportOptions.to, process.cwd()),
transportOptions.argv
);
} else {
console.log('building for production:')
tsbundleProcessInstance.buildProduction(
transportOptions.from,
transportOptions.to,
plugins.smartpath.transform.makeAbsolute(transportOptions.from, process.cwd()),
plugins.smartpath.transform.makeAbsolute(transportOptions.to, process.cwd()),
transportOptions.argv
);
}