2019-05-06 12:00:21 +00:00
|
|
|
import * as early from '@pushrocks/early';
|
|
|
|
early.start('tsbundle');
|
2019-06-16 15:02:38 +00:00
|
|
|
// lets import all plugins beforehand
|
|
|
|
import './tsbundle.plugins';
|
|
|
|
|
2019-05-08 09:05:13 +00:00
|
|
|
import { logger } from './tsbundle.logging';
|
2019-06-16 15:02:38 +00:00
|
|
|
import { runCli } from './tsbundle.cli';
|
2019-05-06 12:00:21 +00:00
|
|
|
early.stop();
|
2019-04-20 17:59:33 +00:00
|
|
|
|
2019-06-16 15:02:38 +00:00
|
|
|
if (process.env.CLI_CALL) {
|
|
|
|
runCli();
|
2019-04-30 10:49:10 +00:00
|
|
|
}
|