mirror of
https://github.com/hanzoai/billing.git
synced 2026-10-30 18:46:54 +00:00
15 lines
318 B
TypeScript
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
|