Skip to content

Refactor/scrum 446/code splitting - #262

Merged
Chaeyeonh merged 2 commits into
developfrom
refactor/SCRUM-446/code-splitting
Apr 6, 2026
Merged

Refactor/scrum 446/code splitting#262
Chaeyeonh merged 2 commits into
developfrom
refactor/SCRUM-446/code-splitting

Conversation

@Chaeyeonh

Copy link
Copy Markdown
Contributor
  1. src/routes/index.tsx — 코드 스플리팅
  • 모든 페이지 import를 React.lazy()로 전환
  • 효과: 홈 진입 시 홈 페이지 코드만 로드, 나머지는 해당 페이지 방문 시 로드
  • index-l1l_xlFn.js 파일 크기가 크게 줄어들 것
    -src/main.tsx — ReactQueryDevtools 프로덕션 제외
  1. import.meta.env.DEV 조건 추가로 개발 환경에서만 렌더링
  • 효과: 프로덕션 번들에서 devtools 코드 제거

@Chaeyeonh Chaeyeonh self-assigned this Apr 6, 2026
@Chaeyeonh Chaeyeonh added the enhancement New feature or request label Apr 6, 2026
@Chaeyeonh
Chaeyeonh merged commit 2496b2c into develop Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant