Files
billing/next.config.ts

15 lines
318 B
TypeScript

import type { NextConfig } from 'next'
const isGitHubPages = process.env.GITHUB_PAGES === 'true'
const config: NextConfig = {
output: 'export',
reactStrictMode: true,
images: {
unoptimized: true,
},
...(isGitHubPages ? { basePath: '/billing', assetPrefix: '/billing/' } : {}),
}
export default config