-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnext.config.mjs
More file actions
30 lines (27 loc) · 620 Bytes
/
next.config.mjs
File metadata and controls
30 lines (27 loc) · 620 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import mdx from "@next/mdx";
const withMDX = mdx({
extension: /\.mdx?$/,
options: {},
});
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ["ts", "tsx", "md", "mdx"],
transpilePackages: ["next-mdx-remote"],
sassOptions: {
compiler: "modern",
silenceDeprecations: ["legacy-js-api"],
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "images.unsplash.com",
},
],
},
eslint: {
// Skip ESLint during production builds (handled by Biome/CI)
ignoreDuringBuilds: true,
},
};
export default withMDX(nextConfig);