const isDevelopmentBuild = process.env.BUILD === 'development';
export default {
- input: ['src/start.ts', 'src/charging-station/ChargingStationWorker.ts'],
+ input: ['src/start.ts', 'src/ui/httpd/start.ts', 'src/charging-station/ChargingStationWorker.ts'],
output: {
dir: 'dist',
format: 'cjs',
'basic-ftp',
'chalk',
'crypto',
+ 'express',
'fs',
'@mikro-orm/core',
'@mikro-orm/reflection',
}),
isDevelopmentBuild && istanbul(),
del({
- targets: 'dist/*',
+ targets: ['dist/*', '!dist/assets', 'dist/assets/*.json', 'dist/assets/station-templates'],
}),
copy({
targets: [{ src: 'src/assets', dest: 'dist/' }],