remove tsconfig's path mapping 75c494c0
Daniel Yogel · 2025-07-22 18:48 2 file(s) · +0 −16
client/vite.config.ts +0 −8
1 1
import { defineConfig } from 'vite'
2 2
import react from '@vitejs/plugin-react'
3 -
import path from 'path'
4 3
5 4
export default defineConfig({
6 5
  plugins: [react()],
7 -
  resolve: {
8 -
    alias: {
9 -
      "@client": path.resolve(__dirname, "./src"),
10 -
      "@server": path.resolve(__dirname, "../server/src"),
11 -
      "@shared": path.resolve(__dirname, "../shared/src")
12 -
    }
13 -
  }
14 6
})
tsconfig.json +0 −8
8 8
    "jsx": "react-jsx",
9 9
    "allowJs": true,
10 10
11 -
    // Path resolution
12 -
    "baseUrl": "./",
13 -
    "paths": {
14 -
      "@server/*": ["./server/src/*"],
15 -
      "@client/*": ["./client/src/*"],
16 -
      "@shared/*": ["./shared/src/*"]
17 -
    },
18 -
19 11
    // Module resolution
20 12
    "moduleResolution": "bundler",
21 13
    "allowSyntheticDefaultImports": true,