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