mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 15:07:55 -05:00
* chore(deps): upgrade to nextjs 16 * upgraded fumadocs * ensure vercel uses bun * fix build * fix bui;d * remove redundant vercel.json
32 lines
565 B
TypeScript
32 lines
565 B
TypeScript
import { createMDX } from 'fumadocs-mdx/next'
|
|
|
|
const withMDX = createMDX()
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
reactStrictMode: true,
|
|
experimental: {
|
|
webpackMemoryOptimizations: true,
|
|
webpackBuildWorker: true,
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/',
|
|
destination: '/introduction',
|
|
permanent: true,
|
|
},
|
|
]
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/:path*.mdx',
|
|
destination: '/llms.mdx/:path*',
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
export default withMDX(config)
|