build(simulator): don't preserve modules
[e-mobility-charging-stations-simulator.git] / src / utils / Configuration.ts
index 0ed294c016385bc9d3993d6f55bde0cd52593e36..257f5f658fe9819be910ec5b3d63e6d9ab79f2ae 100644 (file)
@@ -23,7 +23,7 @@ import { WorkerConstants, WorkerProcessType } from '../worker';
 
 export class Configuration {
   private static configurationFile = path.join(
-    path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../'),
+    path.dirname(fileURLToPath(import.meta.url)),
     'assets',
     'config.json'
   );
@@ -426,7 +426,7 @@ export class Configuration {
 
   private static buildPerformanceUriFilePath(file: string) {
     return `file://${path.join(
-      path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../'),
+      path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../'),
       file
     )}`;
   }