Fix: 빌드 후, tsconfig paths 경로 매핑 오류 수정 #3
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is this PR?
tsconfig paths 매핑 경로 버그 수정
Changes
tsconfig-paths 옵션 명령어를 이용해 매핑 경로에 해당하는 모듈을 가져오도록 함.
Screenshot
Test Checklist
Etc
tsconfig-paths 패키지 공식 문서에서 node 환경에서도 옵션 명령어 실행이 가능하다고 되어있는데,
node를 사용할 경우엔, 여전히 매핑 경로 모듈을 인식하지 못하는 문제가 발생함.
관련된 이슈 몇가지를 찾긴 했는데, ts-node를 사용한 것보다 방법이 복잡하고 제대로 적용이 되는지도 확인이 안됨.
resolve #2