From: Jérôme Benoit Date: Wed, 22 Nov 2023 19:37:23 +0000 (+0100) Subject: build: remove now uneeded ESM workaround for esbuil X-Git-Tag: v1.2.26~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f01a4e61a5ba423fbb9636747de36505cbf0e5bd;p=e-mobility-charging-stations-simulator.git build: remove now uneeded ESM workaround for esbuil Signed-off-by: Jérôme Benoit --- diff --git a/bundle.js b/bundle.js index dd6a46ca..dea5a97f 100644 --- a/bundle.js +++ b/bundle.js @@ -41,9 +41,6 @@ console.time('Build time'); sourcemap, entryNames: '[name]', outdir: './dist', - banner: { - js: "import { createRequire } from 'module';const require = createRequire(import.meta.url);", - }, plugins: [ clean({ patterns: [