34 lines
690 B
JavaScript
34 lines
690 B
JavaScript
import million from "million/compiler";
|
|
import createMDX from "@next/mdx";
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
|
|
experimental: {
|
|
reactCompiler: true,
|
|
ppr: true,
|
|
},
|
|
serverExternalPackages: ["typeorm"],
|
|
reactStrictMode: true,
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "fly.storage.tigris.dev"
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
const millionConfig = {
|
|
auto: { rsc: true },
|
|
rsc: true,
|
|
};
|
|
|
|
const withMDX = createMDX({
|
|
// Add markdown plugins here, as desired
|
|
});
|
|
|
|
export default withMDX(million.next(nextConfig, millionConfig));
|