Skip to content

Commit

Permalink
[FE][Fix] #1 : Typescript @ 경로 인식하지 못하는 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
effozen committed Nov 10, 2024
1 parent d9b2d9a commit e4f1e80
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"tailwindcss": "^3.4.14",
"typescript": "~5.6.2",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.10"
"vite": "^5.4.10",
"vite-tsconfig-paths": "^5.1.1"
},
"eslintConfig": {
"extends": [
Expand Down
3 changes: 2 additions & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import tsconfigPaths from 'vite-tsconfig-paths'; // 추가된 부분

// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [react(), tsconfigPaths()], // tsconfigPaths 플러그인 추가
});
41 changes: 41 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4f1e80

Please sign in to comment.