mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-11-23 03:43:50 +00:00
Hanzo CI/CD / test (linux-arm64) (push) Skipped
Hanzo CI/CD / test (linux-amd64) (push) Skipped
Hanzo CI/CD / test-advisory (push) Skipped
Release / Release (push) Failing after 3m46s
Hanzo CI/CD / test-amd64 (push) Failing after 5m53s
Hanzo CI/CD / cicd (push) Skipped
Hanzo CI/CD / verify (push) Skipped
Deploy Zen Docs / deploy (push) Failing after 6m11s
CI/CD / cicd (push) Failing after 5m56s
Deploy ZT Docs / deploy (push) Failing after 5m26s
Deploy Cloud Landing Page / deploy (push) Failing after 6m38s
Deploy Base Docs / deploy (push) Failing after 7m3s
Deploy Insights Docs / deploy (push) Failing after 9m13s
Deploy Bootnode Docs / deploy (push) Failing after 10m32s
Deploy Dev Docs / deploy (push) Failing after 10m56s
Deploy Bot Docs / deploy (push) Failing after 17m41s
Co-authored-by: Hanzo Dev <[email protected]>
27 lines
871 B
TypeScript
27 lines
871 B
TypeScript
import { createMDX } from '@hanzo/docs-mdx/next';
|
|
import type { NextConfig } from 'next';
|
|
|
|
const withMDX = createMDX();
|
|
|
|
const config: NextConfig = {
|
|
// Both ship ESM with 'use client' boundaries, so the client/server split
|
|
// and the JSX runtime resolve only when the app build compiles them.
|
|
transpilePackages: ['@hanzogui/shell', '@hanzo/brand'],
|
|
output: 'export',
|
|
reactStrictMode: true,
|
|
// The generated collection modules live in the generator's outDir (`.docs/`),
|
|
// written on every build by createMDX(). Same alias, same location, every app.
|
|
turbopack: {
|
|
resolveAlias: {
|
|
'@hanzo/mdx:collections/server': './.docs/server.ts',
|
|
'@hanzo/mdx:collections/browser': './.docs/browser.ts',
|
|
'@hanzo/mdx:collections/dynamic': './.docs/dynamic.ts',
|
|
},
|
|
},
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
};
|
|
|
|
export default withMDX(config);
|