X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rollup.config.mjs;h=8a3118285ef9bb4d4637e1bc927f651a71b1355d;hb=293aaa3118bbd8c6a6e7933f049d51031c134fa6;hp=0388de65c9a989004b8cad25840e246be9638eca;hpb=045639f584167bbd8459bba6125f3cc767510419;p=e-mobility-charging-stations-simulator.git diff --git a/rollup.config.mjs b/rollup.config.mjs index 0388de65..8a311828 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -2,14 +2,13 @@ import json from '@rollup/plugin-json'; import analyze from 'rollup-plugin-analyzer'; import copy from 'rollup-plugin-copy'; import del from 'rollup-plugin-delete'; -import istanbul from 'rollup-plugin-istanbul'; import { terser } from 'rollup-plugin-terser'; import ts from 'rollup-plugin-ts'; const isDevelopmentBuild = process.env.BUILD === 'development'; export default { - input: ['src/start.ts', 'src/ui/httpd/start.ts', 'src/charging-station/ChargingStationWorker.ts'], + input: ['src/start.ts', 'src/charging-station/ChargingStationWorker.ts'], output: [ { dir: 'dist', @@ -36,27 +35,29 @@ export default { '@mikro-orm/core', '@mikro-orm/reflection', 'ajv', - 'ajv-draft-04', 'ajv-formats', + 'async_hooks', 'basic-ftp', 'chalk', - 'crypto', - 'express', 'fs', + 'http', + 'http-status-codes', + 'just-clone', + 'just-merge', 'mnemonist/lru-map-with-delete', 'moment', 'mongodb', + 'node:crypto', + 'node:util', 'path', 'perf_hooks', 'poolifier', 'proper-lockfile', - 'reflect-metadata', 'tar', 'url', - 'uuid', 'winston', 'winston-daily-rotate-file', - 'winston/lib/winston/transports/index.js', + 'winston/lib/winston/transports', 'worker_threads', 'ws', ], @@ -66,7 +67,6 @@ export default { tsconfig: 'tsconfig.json', browserslist: false, }), - isDevelopmentBuild && istanbul(), del({ targets: [ 'dist/*',