mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
25 lines
604 B
JavaScript
25 lines
604 B
JavaScript
import { createMDX } from "fumadocs-mdx/next";
|
|
|
|
const withMDX = createMDX();
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
reactStrictMode: true,
|
|
images: {
|
|
remotePatterns: [
|
|
{ protocol: "https", hostname: "pbs.twimg.com" },
|
|
{ protocol: "https", hostname: "abs.twimg.com" },
|
|
{ protocol: "https", hostname: "r2.better-t-stack.dev" },
|
|
],
|
|
},
|
|
outputFileTracingExcludes: {
|
|
"*": ["./**/*.js.map", "./**/*.mjs.map", "./**/*.cjs.map"],
|
|
},
|
|
};
|
|
|
|
export default withMDX(config);
|
|
|
|
import { initOpenNextCloudflareForDev } from "@opennextjs/cloudflare";
|
|
|
|
initOpenNextCloudflareForDev();
|