refactor(simulator): sort exports
[e-mobility-charging-stations-simulator.git] / rollup.config.mjs
index 231b7485adaa49fa621505f85b16bd197c44c91a..394de0e274f7cca046131921aae821adadc4c10b 100644 (file)
@@ -12,7 +12,7 @@ export default {
   output: [
     {
       dir: 'dist',
-      format: 'es',
+      format: 'esm',
       exports: 'auto',
       sourcemap: true,
       preserveModules: true,
@@ -35,32 +35,31 @@ export default {
     '@mikro-orm/core',
     '@mikro-orm/reflection',
     'ajv',
-    'ajv-draft-04',
     'ajv-formats',
-    'async_hooks',
     'basic-ftp',
     'chalk',
-    'crypto',
-    'fs',
-    'http',
     'http-status-codes',
     'just-clone',
     'just-merge',
     'mnemonist/lru-map-with-delete',
     'moment',
     'mongodb',
-    'path',
-    'perf_hooks',
+    'node:async_hooks',
+    'node:crypto',
+    'node:fs',
+    'node:http',
+    'node:path',
+    'node:perf_hooks',
+    'node:stream',
+    'node:url',
+    'node:util',
+    'node:worker_threads',
     'poolifier',
     'proper-lockfile',
-    'reflect-metadata',
     'tar',
-    'url',
-    'uuid',
     'winston',
     'winston-daily-rotate-file',
-    'winston/lib/winston/transports/index.js',
-    'worker_threads',
+    'winston/lib/winston/transports',
     'ws',
   ],
   plugins: [