next.js 13 버전을 사용하던 중 sass에서 styled-component로 갈아타려고 합니당. 우선 styled-components를 설치 npm i styled-components npm i @types/styled-components 넥스트에서 styled-compoenets를 사용하면 스타일이 적용되지 않은 html이 먼저 렌더링 되는 문제가 있어 보통 babel-plugin-styled-components를 설치하고 .babelrc 파일에서 설정을 해주는데 그렇게 하니 아래와 같은 에러가 발생했답니다~!! Syntax error: "next/font" requires SWC although Babel is being used due to a custom babel config being ..