Files
docs/apps/visor/next.config.ts
zeekay 8e2bb684fa Add visor.hanzo.ai site + platform pricing page
- New visor-docs app: VM management landing + docs + pricing (41 files)
  - 6 VM tiers, GPU pricing, block storage
  - 11 MDX doc pages (providers, features, API)
  - K8s manifests + Dockerfile + nginx
- Add /pricing page to platform site
  - Cloud VMs, K8s pods, Docker containers, AI models
  - Feature comparison table, enterprise CTA
- Add Pricing nav link to platform layout
- Fix platform Dockerfile to use simple nginx pattern
2026-02-27 10:28:27 -08:00

41 lines
1002 B
TypeScript

import { resolve } from 'path';
import createBundleAnalyzer from '@next/bundle-analyzer';
import { createMDX } from '@hanzo/docs/mdx/next';
import type { NextConfig } from 'next';
const withAnalyzer = createBundleAnalyzer({
enabled: process.env.ANALYZE === 'true',
});
const config: NextConfig = {
output: 'export',
reactStrictMode: true,
typescript: {
ignoreBuildErrors: true,
},
webpack: (config) => {
config.resolve.alias = {
...config.resolve.alias,
'@hanzo/mdx:collections/server': resolve(__dirname, './docs/server.ts'),
'@hanzo/mdx:collections/browser': resolve(__dirname, './docs/browser.ts'),
'@hanzo/mdx:collections/dynamic': resolve(__dirname, './docs/dynamic.ts'),
};
return config;
},
logging: {
fetches: {
fullUrl: true,
},
},
serverExternalPackages: [
'shiki',
],
images: {
unoptimized: true,
},
};
const withMDX = createMDX();
export default withAnalyzer(withMDX(config as any) as NextConfig);