Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] vite localhost 모드 신설 #309

Merged
merged 2 commits into from
Oct 12, 2023
Merged

[Build] vite localhost 모드 신설 #309

merged 2 commits into from
Oct 12, 2023

Conversation

yoopark
Copy link
Contributor

@yoopark yoopark commented Oct 12, 2023

Summary

Vite localhost 모드 신설

Describe your changes

  • .env.local은 Vite에서 다른 의미로 해석됩니다. (Ref. https://ko.vitejs.dev/guide/env-and-mode.html#env-files)
  • 해당 모드와 구분하기 위해 localhost 모드를 신설하였습니다.
  • Frontend-Env 레포를 Pull 받으셔서 .env.localhost가 env 폴더에 있어야 사용 가능합니다.

Issue number and link

@yoopark yoopark added the enhancement New feature or request label Oct 12, 2023
@yoopark yoopark requested a review from jpham005 October 12, 2023 00:43
@yoopark yoopark self-assigned this Oct 12, 2023
Copy link
Member

@jpham005 jpham005 left a comment

Choose a reason for hiding this comment

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

좋네요!
이런 것들은 항상 문서 안보면 골치 아프기 마련이죠...

@yoopark yoopark merged commit ff3845e into develop Oct 12, 2023
@yoopark yoopark deleted the build/localhost-mode branch October 12, 2023 00:46
@yoopark
Copy link
Contributor Author

yoopark commented Oct 12, 2023

이제 로컬에서 프론트 docker-compose 할 때, .env.development에 .env.local 내용을 붙여넣기하지 않으셔도 됩니다!

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
Status: Done
Development

Successfully merging this pull request may close these issues.

vite .env.local보다 .env.development이 우선 적용되는 문제
2 participants