-
Notifications
You must be signed in to change notification settings - Fork 424
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
feat: missed script for yarn reset #1013
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
README.md에 존재하는 yarn reset에 대한 script 추가.
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
Size changes📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
6 tasks
hg-pyun
reviewed
Jul 24, 2024
npm script 상의 reset 명령어를 cache-reset으로 이름 변경. 관련 README.md 수정.
hg-pyun
approved these changes
Jul 25, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
안녕하세요😊 아래 스크린샷과 같이 기존
README.md
에 존재하는yarn reset
명령어에 대한 script를 추가하였습니다.기존에는
package.json
의 script 상에yarn reset
이 존재하지 않아, 해당 명령어 사용이 불가능하였습니다.수정 내역은 아래와 같습니다.
rm -rf node_modules/.cache
yarn dev
를 통한 로컬 서버는 아래 스크린샷과 같이node_modules/.cache
디렉토리에서 캐싱된 파일을 참조합니다. 해당 디렉토리를 삭제하여야만 기존에 캐싱된 파일이 사용되지 않고, 새롭게 생성된 캐시 파일이 사용됨을 확인하였습니다.rm -rf .next
.next
디렉토리를 삭제하여, Next.js 프로젝트의 빌드 캐시를 삭제합니다. 이 명령어는.next
디렉토리를 삭제하여 캐시를 지우고, 다음 빌드 시 새로 생성하게 합니다.yarn cache clean
Progress