Refine comment at CS configuration file handling
[e-mobility-charging-stations-simulator.git] / rollup.config.js
index b1114284ea7bbe9d5d596fd46d04ce11f3a8a2e4..53d9cb33ad6894373aa688f4e0ad7c11fac00819 100644 (file)
@@ -9,7 +9,7 @@ import ts from 'rollup-plugin-ts';
 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',
@@ -23,6 +23,7 @@ export default {
     'basic-ftp',
     'chalk',
     'crypto',
+    'express',
     'fs',
     '@mikro-orm/core',
     '@mikro-orm/reflection',
@@ -49,7 +50,7 @@ export default {
     }),
     isDevelopmentBuild && istanbul(),
     del({
-      targets: 'dist/*',
+      targets: ['dist/*', '!dist/assets', 'dist/assets/*.json', 'dist/assets/station-templates'],
     }),
     copy({
       targets: [{ src: 'src/assets', dest: 'dist/' }],