Files
json-render/apps/web/next.config.js
T
Chris Tate 320c935bfb shadcn (#115)
* shadcn

* fix build error

* fix readme

* fix CI error

* improvements

* fixes

* stronger types

* fix interleave

* fixes

* on arg

* minor fixes

* fix lock
2026-02-17 01:28:04 -06:00

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;