From: Jérôme Benoit Date: Mon, 1 Jan 2024 15:03:32 +0000 (+0100) Subject: refactor: cleanup bundling code X-Git-Tag: v1.2.32~77 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7cfd4269447d562387125da081c83b5eaa7d63b8;p=e-mobility-charging-stations-simulator.git refactor: 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