X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rollup.config.mjs;h=394de0e274f7cca046131921aae821adadc4c10b;hb=f64ca10c3dfd40e1deda5aa7cf3397305575117e;hp=890bc33a0b9ff7eeed53c7cf24d4b6a226367083;hpb=65b0c151a66f8b6d99a30a2565cd9bb00576baeb;p=e-mobility-charging-stations-simulator.git diff --git a/rollup.config.mjs b/rollup.config.mjs index 890bc33a..394de0e2 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -12,7 +12,7 @@ export default { output: [ { dir: 'dist', - format: 'es', + format: 'esm', exports: 'auto', sourcemap: true, preserveModules: true, @@ -36,28 +36,30 @@ export default { '@mikro-orm/reflection', 'ajv', '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', 'tar', - 'url', 'winston', 'winston-daily-rotate-file', 'winston/lib/winston/transports', - 'worker_threads', 'ws', ], plugins: [