Skip to content

Commit

Permalink
feat: 셀프 호스팅을 위해 static export로 변경
Browse files Browse the repository at this point in the history
- 서버의 기능을 사용하여 정적 배포시 사용할 수 없는 이미지 최적화 비활성화 추가
- ref: https://nextjs.org/docs/pages/building-your-application/deploying\#static-html-export
  • Loading branch information
SaeWooKKang committed Jun 16, 2024
1 parent 52a4618 commit 0b0870f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},

}

Expand Down

0 comments on commit 0b0870f

Please sign in to comment.