
yarn으로 패키지 설치할 때 .gitignore 작성법
·
Frontend
yarn으로 패키지를 설치하니까 .yarn 파일이 엄청 많이 생겼다. 그것도 모르고 터미널로... git add . 해버렸더니... 깃헙 레파지토리에 올라가질 않는다...ㅎㅎㅎ ㅠㅠㅠ 그래서 그냥 프젝 다시 파서 하기로... 초기에 알아서 다행이다. 이 글을 참고했다. Am I meant to commit yarn's `.pnp.js` file? Yarn includes an optional "Plug'n'Play" feature which moves node_modules out of the project directory. In doing so it creates a .pnp.js file with references to various dependency paths on the hard ... st..