Skip to content

Commit 0fb4a66

Browse files
committed
unoptimized images
1 parent 70a9f89 commit 0fb4a66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

next.config.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import createMDX from '@next/mdx'
22
import remarkMath from 'remark-math'
33
import rehypeKatex from 'rehype-katex'
4-
import rehypeMdxImportMedia from 'rehype-mdx-import-media'
4+
import remarkMdxImages from 'remark-mdx-images'
55

66
/** @type {import('next').NextConfig} */
77
const nextConfig = {
8-
output: "export",
98
images: {
9+
unoptimized: true,
1010
formats: ["image/avif", "image/webp"],
1111
remotePatterns: [
1212
{
@@ -24,7 +24,7 @@ const nextConfig = {
2424
const withMDX = createMDX({
2525
// Add markdown plugins here, as desired
2626
options: {
27-
remarkPlugins: [remarkMath, rehypeMdxImportMedia],
27+
remarkPlugins: [remarkMath, remarkMdxImages],
2828
rehypePlugins: [rehypeKatex],
2929
},
3030
})

0 commit comments

Comments
 (0)