woodstockwoodstock.hashnode.dev·Mar 8, 2024🧐 Vite + TypeScript 절대 경로 import 문제 해결하기문제상황 Vite와 TypeScript를 사용해서 작업하던 중, import 구문으로 모듈을 불러올 때 아래와 같은 오류가 발생했다. 문제 원인 기존에 CRA(Create React App)에서 사용하던 방식과 같이 tsconfig.json 절대경로를 설정해주었다. { "compilerOptions": { "baseUrl": "src", "target": "ES2020", "useDefineForClassFields...Emotion DiaryviteAdd a thoughtful commentNo comments yetBe the first to start the conversation.