From f63ee472c87ac8998eb61dd21de2eb16b5be0821 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Fri, 3 Oct 2025 19:40:58 +0300 Subject: [PATCH] refactor: update output directory paths in tsconfig and vite config for backend and frontend --- Dockerfile | 2 -- src/backend/tsconfig.json | 2 +- src/frontend/vite.config.ts | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b5ca44..0de86ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,6 @@ RUN npm ci # Copy source code COPY src/ ./src/ -COPY tsconfig.json ./ -COPY .gitattributes ./ # Copy configuration files needed for build COPY ReleaseNotes.json ./ diff --git a/src/backend/tsconfig.json b/src/backend/tsconfig.json index d13586b..3feb476 100644 --- a/src/backend/tsconfig.json +++ b/src/backend/tsconfig.json @@ -4,7 +4,7 @@ "module": "ES2022", "moduleResolution": "node", "lib": ["ES2022"], - "outDir": "./dist", + "outDir": "../../dist/backend", "rootDir": ".", "strict": true, "esModuleInterop": true, diff --git a/src/frontend/vite.config.ts b/src/frontend/vite.config.ts index 8659fb4..cdc43a6 100644 --- a/src/frontend/vite.config.ts +++ b/src/frontend/vite.config.ts @@ -12,7 +12,7 @@ export default defineConfig(({ mode }) => { plugins: [react()], publicDir: 'public', build: { - outDir: '../../../dist/frontend', + outDir: '../../dist/frontend', }, server: { proxy: {