mirror of
https://dev.azure.com/tstanciu94/PhantomMind/_git/Bitip
synced 2025-10-13 01:52:19 +03:00
refactor: update output directory paths in tsconfig and vite config for backend and frontend
This commit is contained in:
parent
9ab5b3a950
commit
f63ee472c8
@ -16,8 +16,6 @@ RUN npm ci
|
|||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY src/ ./src/
|
COPY src/ ./src/
|
||||||
COPY tsconfig.json ./
|
|
||||||
COPY .gitattributes ./
|
|
||||||
|
|
||||||
# Copy configuration files needed for build
|
# Copy configuration files needed for build
|
||||||
COPY ReleaseNotes.json ./
|
COPY ReleaseNotes.json ./
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"module": "ES2022",
|
"module": "ES2022",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"lib": ["ES2022"],
|
"lib": ["ES2022"],
|
||||||
"outDir": "./dist",
|
"outDir": "../../dist/backend",
|
||||||
"rootDir": ".",
|
"rootDir": ".",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
|
@ -12,7 +12,7 @@ export default defineConfig(({ mode }) => {
|
|||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
publicDir: 'public',
|
publicDir: 'public',
|
||||||
build: {
|
build: {
|
||||||
outDir: '../../../dist/frontend',
|
outDir: '../../dist/frontend',
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user