내 프로젝트의 버전은 다음과 같다
Next.js 13.4.19 (Page Router)
TailwindCSS
TypeScript 5.2.2
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
remotePatterns: [
{
protocol: 'https',
hostname: "images.unsplash.com"
}
]
}
}
module.exports = nextConfig
/* @type {import('next').NextConfig} /
이 부분에서 제목의 에러 메시지가 발생하는걸 확인했다.
{
"presets": ["next/babel"],
"plugins": []
}
{
"extends": ["next/babel","next/core-web-vitals"]
}
일단 왜 이 문제가 발생하는지 chatGPT에게 물어봤다, 도대체 왜 뜬금없이 babel을 문제로 잡는 걸까?