1 import copy
from 'rollup-plugin-copy';
2 import del
from 'rollup-plugin-delete';
3 import typescript
from 'rollup-plugin-typescript2';
6 input
: ['src/start.ts', 'src/charging-station/StationWorker.ts'],
12 preserveModules
: true,
13 preserveModulesRoot
: 'src'
15 external
: ['crypto', 'perf_hooks', 'fs', 'path', 'poolifier', 'uuid', 'ws', 'winston', 'winston-daily-rotate-file', 'worker_threads'],
18 tsconfig
: 'tsconfig.json'
25 { src
: 'src/assets', dest
: 'dist/' }