raj.how/next.config.js

27 lines
636 B
JavaScript
Raw Permalink Normal View History

2024-01-06 21:07:35 +05:30
const withMDX = require("@next/mdx")();
2023-10-27 16:48:26 +05:30
/** @type {import('next').NextConfig} */
2024-01-06 21:07:35 +05:30
const nextConfig = {
// Configure `pageExtensions` to include MDX files
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
// Optionally, add any other Next.js config below
2024-03-13 08:34:51 +05:30
env: {
COMMENTS_REPO: "xrehpicx/raj.how",
COMMENTS_REPO_ID: "R_kgDOJt-ekg",
COMMENTS_CATEGORY: "General",
COMMENTS_CATEGORY_ID: "DIC_kwDOJt-eks4Cd7mb",
},
2024-01-09 21:25:30 +05:30
images: {
remotePatterns: [
{
hostname: "images.unsplash.com",
},
{
hostname: "*.amazonaws.com",
},
],
},
2024-01-06 21:07:35 +05:30
};
2023-10-27 16:48:26 +05:30
2024-01-06 21:07:35 +05:30
module.exports = withMDX(nextConfig);