X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=bundle.js;h=455da66fae8497ea74113c1d3813ae34441c765a;hb=73b78a1f75b27bc503f90269690ad71b70f4f2eb;hp=e96d450c0152ffbd43391a844b4492d05ae82024;hpb=66a7748ddeda8c94d7562a1ce58d440319654a4c;p=e-mobility-charging-stations-simulator.git diff --git a/bundle.js b/bundle.js index e96d450c..455da66f 100644 --- a/bundle.js +++ b/bundle.js @@ -6,10 +6,9 @@ import { build } from 'esbuild' import { clean } from 'esbuild-plugin-clean' import { copy } from 'esbuild-plugin-copy' -const isDevelopmentBuild = env.BUILD === 'development' -const sourcemap = !!isDevelopmentBuild - ;(async () => { + const isDevelopmentBuild = env.BUILD === 'development' + const sourcemap = !!isDevelopmentBuild console.info(chalk.green(`Building in ${isDevelopmentBuild ? 'development' : 'production'} mode`)) console.time('Build time') await build({ @@ -27,7 +26,7 @@ const sourcemap = !!isDevelopmentBuild 'http-status-codes', 'just-merge', 'logform', - 'mnemonist/*', + // 'mnemonist', 'mongodb', 'node:*', 'poolifier',