/** @type {import('next').NextConfig} */
const isProd = process.env.NODE_ENV === 'production';
const nextConfig = {
basePath: isProd ? '/Deploy-a-Next.js-App-to-GitHub-Pages': '',
output: 'export',
distDir: 'dist',
images: {
unoptimized: true,
},
}
module.exports = nextConfig