fix(core): update

This commit is contained in:
2021-07-22 21:55:08 +02:00
parent dadd0b70b3
commit 38426a24bc
7 changed files with 14521 additions and 34 deletions

View File

@ -126,7 +126,9 @@ export class TsBundle {
/**
* creates a bundle for the production environment
*/
public async buildProduction(fromArg: string, toArg: string) {
public async buildProduction(cwdArg: string, fromArg: string, toArg: string) {
process.chdir(cwdArg);
console.log(process.cwd())
// create a bundle
logger.log('info', `bundling for PRODUCTION!`);
const buildOptions = this.getOptionsProduction(fromArg, toArg);