Files
zen/next.config.js
Hanzo Dev fe19c19b26 feat: migrate to Next.js + TypeScript with static export
- Convert to Next.js 15 with TypeScript
- Create reusable React components for Header/Footer (DRY)
- Convert all pages to TSX: page.tsx, models/page.tsx, research/page.tsx
- Configure static export to docs/ for GitHub Pages
- Add .nojekyll for proper routing
- All builds generate static HTML (SSG)
- Remove old build.js template system
- TypeScript for type safety
- Next.js Image optimization disabled for static export
2025-10-23 22:03:02 -07:00

13 lines
211 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
distDir: 'docs',
images: {
unoptimized: true,
},
trailingSlash: true,
basePath: '',
}
module.exports = nextConfig