From: Jérôme Benoit Date: Sat, 16 Mar 2024 15:13:47 +0000 (+0100) Subject: build: enfore tree shaking with esbuild X-Git-Tag: v1.3.1~42 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c4d48eaed98277b0e5ccd625048ba5e3fe94df66;p=e-mobility-charging-stations-simulator.git build: enfore tree shaking with esbuild Signed-off-by: Jérôme Benoit --- diff --git a/bundle.js b/bundle.js index 806f66c5..2d4bc863 100644 --- a/bundle.js +++ b/bundle.js @@ -35,6 +35,7 @@ await build({ 'winston-daily-rotate-file', 'ws' ], + treeShaking: true, minify: true, sourcemap, entryNames: '[name]',