Skip to content

develp branch 작업내용 머지 : develop -> main#272

Merged
heeeeyong merged 4 commits into
mainfrom
develop
Sep 30, 2025
Merged

develp branch 작업내용 머지 : develop -> main#272
heeeeyong merged 4 commits into
mainfrom
develop

Conversation

@heeeeyong

@heeeeyong heeeeyong commented Sep 30, 2025

Copy link
Copy Markdown
Collaborator

이하동일

Summary by CodeRabbit

  • Refactor
    • 메모리 페이지 라우팅을 단일 경로(rooms/:roomId/memory)로 일원화했습니다. 기존 독립 경로(/memory)는 제거되며, 기능 동작과 오류 처리에는 변화가 없습니다.
  • Chores
    • 프로덕션 빌드에서 console.* 및 debugger 문을 자동 제거하도록 빌드 구성을 개선했습니다. 이로써 번들 크기 감소, 로딩 속도·런타임 성능 향상, 배포 환경 콘솔 노이즈 감소 효과가 있습니다. 개발 모드는 기존과 동일하게 유지됩니다.

@vercel

vercel Bot commented Sep 30, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
thip Ready Ready Preview Comment Sep 30, 2025 8:45am

@heeeeyong heeeeyong added the 🌏 Deploy 배포 관련 label Sep 30, 2025
@coderabbitai

coderabbitai Bot commented Sep 30, 2025

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Walkthrough

메모리 컴포넌트의 개별 경로("memory")가 라우터에서 제거되었고, 메모리 관련 진입은 기존 "rooms/:roomId/memory" 경로에 의존합니다. Vite 설정은 정적 객체에서 mode를 받는 함수 반환 형태로 변경되며, production 모드에서 console 호출과 debugger를 제거하도록 esbuild 최적화가 추가되었습니다.

Changes

Cohort / File(s) 요약
라우팅 정리
src/pages/index.tsx
메모리 전용 경로 "memory" 라우트 제거. 기존 "rooms/:roomId/memory" 경로만 사용하도록 정리. 공개 API 변화 없음.
빌드 설정 동적화 및 최적화
vite.config.ts
defineConfig({...})defineConfig(({ mode }) => ({...}))로 변경. production에서 esbuild.pureconsole.* 제거, esbuild.drop으로 debugger 제거. 비-production에서는 변경 없음. 공개 시그니처가 함수 반환 구성으로 변경.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant Dev as Developer
  participant Vite as Vite Config
  participant Esb as esbuild
  participant Bundler as Bundler

  Dev->>Vite: run build with mode
  Vite->>Vite: defineConfig(({ mode }) => config)
  alt mode === 'production'
    Vite->>Esb: set pure=[console.*], drop=['debugger']
    Note over Vite,Esb: Production: 콘솔/디버거 제거
  else mode !== 'production'
    Vite->>Esb: no special esbuild options
    Note over Vite,Esb: Development: 동작 변경 없음
  end
  Vite->>Bundler: return final config
  Bundler->>Dev: output bundle
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

깡총, 경로 하나 살짝 접었지—memory는 방으로 들어가요.
콘솔 속 수다들은 프로덕션에서 살짝 잠들고,
debugger는 휘릭 사라지네.
바람결 같은 빌드, 고요한 번들—
토끼는 수풀 뒤에서 미소 찍, 깃발 펄럭! 🐇✨

✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch develop

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 3778524 and 7693bc1.

📒 Files selected for processing (2)
  • src/pages/index.tsx (0 hunks)
  • vite.config.ts (1 hunks)

Comment @coderabbitai help to get the list of available commands and usage tips.

@heeeeyong heeeeyong merged commit 3c2c675 into main Sep 30, 2025
1 of 2 checks passed
@heeeeyong heeeeyong self-assigned this Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌏 Deploy 배포 관련

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant