From: Jérôme Benoit Date: Sun, 3 Dec 2023 13:19:29 +0000 (+0100) Subject: build: fix console printing ordering X-Git-Tag: v1.2.29~7 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fc04731e85d07c46ad4e2146d3d2652deb05b246;p=e-mobility-charging-stations-simulator.git build: fix console printing ordering Signed-off-by: Jérôme Benoit --- diff --git a/bundle.js b/bundle.js index ec12c5da..4bdee327 100644 --- a/bundle.js +++ b/bundle.js @@ -9,8 +9,10 @@ import { copy } from 'esbuild-plugin-copy'; 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'],