
[AWS] Bulid 된 상태에서 Public 이미지 경로
2022. 5. 5. 20:27
개발이야기/TIL
npm build 진행시 public의 /images 경로를 찾지 못하는 문제? aws로 배포까지 진행한 상태에서 파비콘 이미지와 특정 이미지를 찾지 못하는 버그가 생겼다. 공식문서를 살펴보자.👇 https://create-react-app.dev/docs/using-the-public-folder/#adding-assets-outside-of-the-module-system Using the Public Folder | Create React App Note: this feature is available with react-scripts@0.5.0 and higher. create-react-app.dev 공식문서를 잘보면 public폴더에 파일을 넣으면 웹팩에서 처리되지 않는다고 한다. 대신 빌드 ..