From: Jérôme Benoit Date: Thu, 4 Jan 2024 13:25:43 +0000 (+0100) Subject: build: cleanup bundling code X-Git-Tag: v1.2.32~64 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3dfc5d5047e42a2d3e22ef4e6cc4739dbd127c3e;p=e-mobility-charging-stations-simulator.git build: cleanup bundling code Signed-off-by: Jérôme Benoit --- diff --git a/bundle.js b/bundle.js index 5543d9cb..455da66f 100644 --- a/bundle.js +++ b/bundle.js @@ -5,6 +5,7 @@ import chalk from 'chalk' import { build } from 'esbuild' import { clean } from 'esbuild-plugin-clean' import { copy } from 'esbuild-plugin-copy' + ;(async () => { const isDevelopmentBuild = env.BUILD === 'development' const sourcemap = !!isDevelopmentBuild