mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 07:09:50 +00:00
- Renamed fumaMatter → parseFrontmatter - Renamed fuma-matter.ts → frontmatter.ts - Removed deprecated toFumadocsSource() method, keeping only toSource() - Updated all type names: FumadocsDataMap → DocsDataMap, etc. - Updated FumapressConfig → PressConfig, fumapress → hanzoPress - Updated useFumadocsLoader → useDocsLoader - Updated writeFumadocsRegistry → writeDocsRegistry - Updated all README files with Hanzo Docs branding - Updated create-app templates to use hanzoai/docs GitHub repo - Updated all example files and documentation content - Updated robots.txt, GitHub workflows, and issue templates - Updated test fixtures with hanzo-docs.dev URLs - Published updated packages to npm BREAKING CHANGE: All fumadocs imports must be updated to use new names: - fumaMatter → parseFrontmatter - toFumadocsSource → toSource - useFumadocsLoader → useDocsLoader
25 lines
582 B
Plaintext
25 lines
582 B
Plaintext
import react from '@vitejs/plugin-react';
|
|
import { tanstackStart } from '@tanstack/react-start/plugin/vite';
|
|
import { defineConfig } from 'vite';
|
|
import tsConfigPaths from 'vite-tsconfig-paths';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import mdx from 'hanzo-docs-mdx/vite';
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
plugins: [
|
|
mdx(await import('./source.config')),
|
|
tailwindcss(),
|
|
tsConfigPaths({
|
|
projects: ['./tsconfig.json'],
|
|
}),
|
|
tanstackStart({
|
|
prerender: {
|
|
enabled: true,
|
|
},
|
|
}),
|
|
react(),
|
|
],
|
|
}); |