From 0b0870fa24ebc1c66ac48765952bd433686be78d Mon Sep 17 00:00:00 2001 From: jaeyoung Date: Sun, 16 Jun 2024 19:06:44 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=85=80=ED=94=84=20=ED=98=B8=EC=8A=A4?= =?UTF-8?q?=ED=8C=85=EC=9D=84=20=EC=9C=84=ED=95=B4=20static=20export?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 서버의 기능을 사용하여 정적 배포시 사용할 수 없는 이미지 최적화 비활성화 추가 - ref: https://nextjs.org/docs/pages/building-your-application/deploying\#static-html-export --- next.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/next.config.js b/next.config.js index efca766..fe653ae 100644 --- a/next.config.js +++ b/next.config.js @@ -4,11 +4,15 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({ /** @type {import('next').NextConfig} */ const nextConfig = { + output: 'export', eslint: { // Warning: This allows production builds to successfully complete even if // your project has ESLint errors. ignoreDuringBuilds: true, }, + images: { + unoptimized: true, + }, }