build: remove now uneeded ESM workaround for esbuil
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 22 Nov 2023 19:37:23 +0000 (20:37 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 22 Nov 2023 19:37:23 +0000 (20:37 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
bundle.js

index dd6a46ca4f42f8671fab35beda34012ba54292a7..dea5a97f58449ec15ef63971d195ac9cded35e33 100644 (file)
--- 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: [