fix(core): update

This commit is contained in:
Philipp Kunz 2021-08-28 03:07:10 +02:00
parent f7b260f28b
commit d229e0ca37

View File

@ -115,7 +115,7 @@ export class TsBundleProcess {
bundle.generate(buildOptions.output as plugins.rollup.OutputOptions); bundle.generate(buildOptions.output as plugins.rollup.OutputOptions);
await bundle.write(buildOptions.output as plugins.rollup.OutputOptions); await bundle.write(buildOptions.output as plugins.rollup.OutputOptions);
logger.log('ok', `Successfully bundled files!`); logger.log('ok', `Successfully bundled files!`);
break; process.exit(0);
case 'parcel': case 'parcel':
const parsedPath = plugins.path.parse(toArg); const parsedPath = plugins.path.parse(toArg);
const parcelInstance = new plugins.smartparcel.Parcel(fromArg, parsedPath.dir, parsedPath.base); const parcelInstance = new plugins.smartparcel.Parcel(fromArg, parsedPath.dir, parsedPath.base);
@ -134,6 +134,7 @@ export class TsBundleProcess {
bundle.generate(buildOptions.output as plugins.rollup.OutputOptions); bundle.generate(buildOptions.output as plugins.rollup.OutputOptions);
await bundle.write(buildOptions.output as plugins.rollup.OutputOptions); await bundle.write(buildOptions.output as plugins.rollup.OutputOptions);
logger.log('ok', `Successfully bundled files!`); logger.log('ok', `Successfully bundled files!`);
process.exit(0);
} }
} }