Skip to content

Commit 1f4d85a

Browse files
committed
nextjs-inject-env: add kakao 글
1 parent 2a25e59 commit 1f4d85a

File tree

1 file changed

+3
-1
lines changed
  • src/app/article/2025-07/nextjs-inject-env

1 file changed

+3
-1
lines changed

src/app/article/2025-07/nextjs-inject-env/page.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ Next.js가 공식적으로 추천하는 방법은 [getServerSideProps](https://n
297297

298298
## 번외
299299

300-
`env.js` 파일을 생성할 때 [instrumentation.ts 파일](https://nextjs.org/docs/pages/guides/instrumentation)([App Router](https://nextjs.org/docs/app/guides/instrumentation))을 사용할 수도 있겠습니다. 저는 에너지가 다했으니 여러분이 한번 시도 해주세요...
300+
- `env.js` 파일을 생성할 때 [instrumentation.ts 파일](https://nextjs.org/docs/pages/guides/instrumentation)([App Router](https://nextjs.org/docs/app/guides/instrumentation))을 사용할 수도 있겠습니다. 저는 에너지가 다했으니 여러분이 한번 시도 해주세요...
301+
- 써놓고 보니 [kakao ENT. 테크 블로그의 글 - Runtime 환경 변수 설정으로 빌드 프로세스 개선하기](https://tech.kakaoent.com/front-end/2022/220505-runtime-environment/) 과 상당히 유사하네요. 여기서는 `.env` 파일 생성도 스크립트로 넣었습니다. 참조해주시면 좋을 것 같습니다.
301302

302303
## 레퍼런스
303304

@@ -308,3 +309,4 @@ Next.js가 공식적으로 추천하는 방법은 [getServerSideProps](https://n
308309
- [Routing: Custom Document | Next.js](https://nextjs.org/docs/pages/building-your-application/routing/custom-document)
309310
- [`NEXT_PUBLIC_` 환경변수를 빌드 이후에 수정할 순 없나? 함께 알아보자.(by Jihan)](https://velog.io/@bbbjihan/NEXTPUBLIC-%ED%99%98%EA%B2%BD%EB%B3%80%EC%88%98%EB%A5%BC-%EB%B9%8C%EB%93%9C-%EC%9D%B4%ED%9B%84%EC%97%90-%EC%88%98%EC%A0%95%ED%95%A0-%EC%88%9C-%EC%97%86%EB%82%98-%ED%95%A8%EA%BB%98-%EC%95%8C%EC%95%84%EB%B3%B4%EC%9E%90)
310311
- [next-runtime-env 원리 파헤치기(by 개발자 류준열)](https://www.wnsdufdl.com/post/eCulLQxzTrSoL7asxyqUNA)
312+
- [Runtime 환경 변수 설정으로 빌드 프로세스 개선하기 | kakao ENT. TECH BLOG](https://tech.kakaoent.com/front-end/2022/220505-runtime-environment/)

0 commit comments

Comments
 (0)