From fc04731e85d07c46ad4e2146d3d2652deb05b246 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 3 Dec 2023 14:19:29 +0100 Subject: [PATCH] build: fix console printing ordering MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- bundle.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'], -- 2.34.1