raj.how/next.config.js

22 lines
462 B
JavaScript
Raw 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-01-09 22:55:25 +05:30
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);