tsbundle/ts/index.ts
2019-07-19 10:52:27 +02:00

16 lines
365 B
TypeScript

import * as early from '@pushrocks/early';
early.start('tsbundle');
// lets import all plugins beforehand
import './tsbundle.plugins';
import { logger } from './tsbundle.logging';
import { runCli } from './tsbundle.cli';
early.stop();
if (process.env.CLI_CALL) {
runCli();
}
// lets make this usable programmatically
export * from './tsbundle.class.tsbundle';