mirror of
https://github.com/vercel-labs/json-render.git
synced 2026-10-02 03:54:41 +08:00
* shadcn * fix build error * fix readme * fix CI error * improvements * fixes * stronger types * fix interleave * fixes * on arg * minor fixes * fix lock
28 lines
661 B
JavaScript
28 lines
661 B
JavaScript
import createMDX from "@next/mdx";
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
serverExternalPackages: ["bash-tool", "just-bash", "@mongodb-js/zstd"],
|
|
pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"],
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/docs/components",
|
|
destination: "/docs/registry",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/docs/actions",
|
|
destination: "/docs/registry#action-handlers",
|
|
permanent: true,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
const withMDX = createMDX({});
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = withMDX(nextConfig);
|
|
export default config;
|