X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rollup.config.mjs;h=0b43e8f8d3677921ab5fc3d8054e48dbaaac2382;hb=728e01f09f2b43946aab50eb2ed9673bf2d2daa3;hp=80f99ca861c7c6b71933abe3b26a815d7e70daa7;hpb=0c995ea6078b233350884f71f9c178e4d57150c6;p=e-mobility-charging-stations-simulator.git diff --git a/rollup.config.mjs b/rollup.config.mjs index 80f99ca8..0b43e8f8 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',