[공통] Barrel import 제거 #1181
Merged
Merged
Conversation
|
Claude finished @ff1451's task in 2m 1s —— View job PR 리뷰 완료
전체 평가Barrel import 제거를 통한 번들 최적화 리팩토링입니다. 전반적으로 잘 진행되었으며, 4kB 번들 크기 감소 효과가 확인되었습니다. 발견된 이슈
|
|
Claude finished @ff1451's task in 1m 12s —— View job PR 리뷰 완료
전체 평가: ✅ LGTM이전 리뷰에서 지적된 2개 파일의 barrel import 누락이 최신 커밋( 수정 확인됨
// 변경 전
import { graduationCalculator } from 'api';
// 변경 후 ✅
import { getGeneralEducation } from 'api/graduationCalculator';
// 변경 전
import { graduationCalculator } from 'api';
// 변경 후 ✅
import { getCourseType } from 'api/graduationCalculator';검증 결과
결론모든 지적 사항이 수정되었습니다. 머지 가능합니다. |
dooohun
approved these changes
Feb 19, 2026
Contributor
dooohun
left a comment
There was a problem hiding this comment.
직접 수정해야 하는 내용들이 대부분이라 변경하는데 오래 걸렸을 거 같네요! 수고하셨습니다~👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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? 🔍
Changes 📝
api/index.tsbarrel 경유 import가 광범위하게 사용되어 의존성 추적성과 번들 최적화 측면에서 단점이 있어 리팩토링 진행했습니다.주요 변경사항
api사용 패턴 정리import * as api from 'api'->import { ... } from 'api/<domain>'전환src/api/cafeteria/index.ts에서default export제거getCafeteriaDiningslikeCafeteriaDiningcancelCafeteriaDiningLikeuseLogin:login->submitLoginuseDinings:like/cancelLikemutation 객체명 명확화pages,hooks)의 import/함수 참조 업데이트ScreenShot 📷
작업 이전 초기 번들 크기

리팩토링 이후 초기 번들 크기 (4kB 감소)

✔️ Please check if the PR fulfills these requirements
developbranch unconditionally?main?yarn lint