Skip to content

[chore] client next.config.mjs output standalone 제거#415

Closed
s2yeons wants to merge 4 commits into
mainfrom
chore/add-vercel-json
Closed

[chore] client next.config.mjs output standalone 제거#415
s2yeons wants to merge 4 commits into
mainfrom
chore/add-vercel-json

Conversation

@s2yeons

@s2yeons s2yeons commented Jun 16, 2026

Copy link
Copy Markdown
Member

개요 💡

Vercel 배포를 위한 설정 작업입니다.
모노레포 구조에서 Root Directory를 apps/client로 설정하는 방식으로 Vercel 배포 문제를 해결했습니다.

작업내용 ⌨️

  • apps/client/next.config.mjs에서 output: 'standalone' 제거
  • Vercel 배포 시 standalone 모드 불필요

관련 이슈 🚨

AWS → Vercel 이전 작업의 일환

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
hellogsm-client-26 Ready Ready Preview, Comment Jun 16, 2026 4:34am

Request Review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the standalone output option from the Next.js configuration and introduces a root vercel.json file to manage the build process for the client application. The reviewer correctly points out that defining outputDirectory in vercel.json for a Next.js app will cause Vercel to treat it as a static site, breaking server-side features like SSR and API Routes. It is recommended to remove vercel.json and configure the Root Directory directly in Vercel's project settings instead.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread vercel.json Outdated
@junjuny0227

junjuny0227 commented Jun 16, 2026

Copy link
Copy Markdown
Member

변경 사항이 pr 제목과 맞지 않는 것 같은데 어떻게 된 걸까요...?

@junjuny0227

Copy link
Copy Markdown
Member

vercel.json 없이는 Vercel이 모노레포에서 Next.js를 감지하지 못하는 문제 발생

모노레포 프로젝트를 Vercel에 배포할 때는 루트 디렉토리를 설정해서 각 애플리케이션을 개별적으로 배포해야 합니다.

아래 사진처럼 Root Directory를 지정하면 Vercel이 해당 디렉토리를 기준으로 프레임워크를 감지하고 빌드하기 때문에, vercel.json 없이도 정상적으로 배포할 수 있습니다.

혹시 vercel.json을 추가하려고 하셨던 이유가 별도로 있을까요?

스크린샷 2026-06-16 오후 2 37 08

@s2yeons

s2yeons commented Jun 16, 2026

Copy link
Copy Markdown
Member Author

vercel.json 없이는 Vercel이 모노레포에서 Next.js를 감지하지 못하는 문제 발생

모노레포 프로젝트를 Vercel에 배포할 때는 루트 디렉토리를 설정해서 각 애플리케이션을 개별적으로 배포해야 합니다.

아래 사진처럼 Root Directory를 지정하면 Vercel이 해당 디렉토리를 기준으로 프레임워크를 감지하고 빌드하기 때문에, vercel.json 없이도 정상적으로 배포할 수 있습니다.

혹시 vercel.json을 추가하려고 하셨던 이유가 별도로 있을까요?

스크린샷 2026-06-16 오후 2 37 08

처음에 Root Directory를 repo root(./)로 설정했을 때 Vercel이 Next.js를 감지하지 못하는 문제가 계속 발생해서 vercel.json을 추가하게 됐습니다. 말씀해주신 것처럼 Root Directory를 apps/client로 설정하는 방식으로 해결했고, 현재 vercel.json 없이도 정상 배포되고 있습니다. 그래서 vercel.json은 이 PR에서 제거했고 pr 본문은 변경사항 내용과 일치하도록 수정하겠습니다

@s2yeons s2yeons changed the title [chore] client Vercel 배포를 위한 vercel.json 추가 [chore] client next.config.mjs output standalone 제거 Jun 16, 2026
@s2yeons s2yeons closed this Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants