Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
const sourcemap = !!isDevelopmentBuild;
console.info(chalk.green(`Building in ${isDevelopmentBuild ? 'development' : 'production'} mode`));
-console.time('Build time');
(async () => {
+ console.time('Build time');
await build({
entryPoints: ['./src/start.ts', './src/charging-station/ChargingStationWorker.ts'],
bundle: true,
}),
],
});
+ console.timeEnd('Build time');
})();
-console.timeEnd('Build time');