X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rollup.config.mjs;h=a251ff5dab1ce283387aaac2246466b27be669ee;hb=d4c3e68a1a6321f2f43ef0521e121e827f3eb29b;hp=80f99ca861c7c6b71933abe3b26a815d7e70daa7;hpb=0c995ea6078b233350884f71f9c178e4d57150c6;p=e-mobility-charging-stations-simulator.git diff --git a/rollup.config.mjs b/rollup.config.mjs index 80f99ca8..a251ff5d 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -1,3 +1,4 @@ +/* eslint-disable n/no-unpublished-import */ import json from '@rollup/plugin-json'; import terser from '@rollup/plugin-terser'; import typescript from '@rollup/plugin-typescript'; @@ -21,16 +22,6 @@ export default { entryFileNames: '[name].mjs', ...(!isDevelopmentBuild && { plugins: [terser({ maxWorkers: 2 })] }), }, - { - dir: 'dist', - format: 'cjs', - exports: 'auto', - sourcemap: true, - preserveModules: true, - preserveModulesRoot: 'src', - entryFileNames: '[name].cjs', - ...(!isDevelopmentBuild && { plugins: [terser({ maxWorkers: 2 })] }), - }, ], external: [ '@mikro-orm/core', @@ -56,7 +47,6 @@ export default { 'node:util', 'node:worker_threads', 'poolifier', - 'proper-lockfile', 'tar', 'winston', 'winston-daily-rotate-file',