X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=rollup.config.js;h=e6b710e8d9a028460adea339091f41add0056993;hb=07f350040f34e6727c548bc645e9982c189cd4ef;hp=46683b3b1f9900d71aaf90b136efe296947936eb;hpb=4082efc1bec069b34506a467524b5d4bb9013202;p=e-mobility-charging-stations-simulator.git diff --git a/rollup.config.js b/rollup.config.js index 46683b3b..e6b710e8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -9,7 +9,7 @@ import typescript from 'rollup-plugin-typescript2'; const isDevelopmentBuild = process.env.BUILD === 'development'; export default { - input: ['src/start.ts', 'src/charging-station/StationWorker.ts'], + input: ['src/start.ts', 'src/charging-station/ChargingStationWorker.ts'], output: { dir: 'dist', @@ -20,7 +20,7 @@ export default { preserveModulesRoot: 'src', ...!isDevelopmentBuild && { plugins: [terser({ numWorkers: 2 })] } }, - external: ['crypto', 'perf_hooks', 'fs', 'path', 'poolifier', 'uuid', 'ws', 'winston-daily-rotate-file', 'winston/lib/winston/transports', 'winston', 'worker_threads'], + external: ['basic-ftp', 'chalk', 'crypto', 'perf_hooks', 'fs', 'path', 'poolifier', 'tar', 'url', 'uuid', 'ws', 'winston-daily-rotate-file', 'winston/lib/winston/transports', 'winston', 'worker_threads'], plugins: [ json(), typescript({