// BASE_PATH overrides the GitHub Pages default, e.g. BASE_PATH=/resume for https://shanaty.ru/resume/. const basePath = process.env.BASE_PATH ?? '/Emil_Shanayev_Resume' /** @type {import('next').NextConfig} */ const nextConfig = { output: 'export', ...(basePath && { basePath, assetPrefix: basePath }), images: { unoptimized: true }, } export default nextConfig