X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=bundle.js;h=4bdee327fd0015cef8c3a4bc8c0e79dad72e678f;hb=a735b6738fbd7325c9482291e73dd018cd03be0a;hp=dea5a97f58449ec15ef63971d195ac9cded35e33;hpb=f01a4e61a5ba423fbb9636747de36505cbf0e5bd;p=e-mobility-charging-stations-simulator.git diff --git a/bundle.js b/bundle.js index dea5a97f..4bdee327 100644 --- a/bundle.js +++ b/bundle.js @@ -9,9 +9,11 @@ import { copy } from 'esbuild-plugin-copy'; const isDevelopmentBuild = env.BUILD === 'development'; const sourcemap = !!isDevelopmentBuild; -console.info(chalk.green(`Building in ${isDevelopmentBuild ? 'development' : 'production'} mode`)); -console.time('Build time'); (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'], bundle: true, @@ -74,5 +76,5 @@ console.time('Build time'); }), ], }); + console.timeEnd('Build time'); })(); -console.timeEnd('Build time');