build: enfore tree shaking with esbuild
[e-mobility-charging-stations-simulator.git] / bundle.js
index 806f66c5a93b1f00fd07dffd1782da9b2d0d98c7..2d4bc8631952220d84f8a99141c794795d095606 100644 (file)
--- a/bundle.js
+++ b/bundle.js
@@ -35,6 +35,7 @@ await build({
     'winston-daily-rotate-file',
     'ws'
   ],
+  treeShaking: true,
   minify: true,
   sourcemap,
   entryNames: '[name]',