repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44ebef4
)
build: fix esbuild build options
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 30 Oct 2023 13:29:01 +0000
(14:29 +0100)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 30 Oct 2023 13:29:01 +0000
(14:29 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
bundle.js
patch
|
blob
|
blame
|
history
diff --git
a/bundle.js
b/bundle.js
index ede14a96878f585ceccbed7208cd61038dbce685..84b45f8df4a15c8de630b779d860c41449a8310b 100644
(file)
--- a/
bundle.js
+++ b/
bundle.js
@@
-17,7
+17,11
@@
const sourcemap = !!isDevelopmentBuild;
external: ['@mikro-orm/*'],
minify: true,
sourcemap,
+ entryNames: '[name]',
outdir: './dist',
+ banner: {
+ js: "import { createRequire } from 'module';const require = createRequire(import.meta.url);",
+ },
plugins: [
clean({
patterns: [