16 lines
365 B
TypeScript
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';
|