- 9 routes: /, /product, /pricing, /about, /waitlist, /blog, /blog/rss.xml, /legal/privacy, /legal/terms - Design tokens as CSS custom properties matching PRO-147 palette spec - Plus Jakarta Sans + Inter + JetBrains Mono via next/font (self-hosted) - Waitlist form POSTs to Loops API client-side (NEXT_PUBLIC_LOOPS_FORM_ID build var) - Team grid with 12 placeholder portrait cards; src/data/agents.json is single source of truth - Pre-generated RSS feed at public/blog/rss.xml; blog listing grid ready for MDX articles - Multi-stage Dockerfile (node:20-alpine builder → nginx:1.27-alpine server on port 8080) - nginx.conf with try_files, long-lived asset cache, and security headers - All routes statically exported to out/ via output: 'export' Co-Authored-By: Paperclip <noreply@paperclip.ing>
31 lines
650 B
JavaScript
31 lines
650 B
JavaScript
import path from 'path'
|
|
import { fileURLToPath } from 'url'
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'export',
|
|
trailingSlash: true,
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
webpack(config) {
|
|
config.resolve.alias = {
|
|
...config.resolve.alias,
|
|
'@': path.resolve(__dirname, 'src'),
|
|
}
|
|
// Disable pack cache to avoid NFS race conditions with output manifests
|
|
config.cache = false
|
|
return config
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|