X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=bundle.js;h=84b45f8df4a15c8de630b779d860c41449a8310b;hb=4e4656298bfdbec2ef01e40bc98ad526e0944e88;hp=ede14a96878f585ceccbed7208cd61038dbce685;hpb=44ebef4c21047693fbc194aa9b7f90578465e29a;p=e-mobility-charging-stations-simulator.git diff --git a/bundle.js b/bundle.js index ede14a96..84b45f8d 100644 --- 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: [