logos-ordinals-dashboard/next.config.js
2024-12-13 00:50:41 +09:00

31 lines
721 B
JavaScript

import createMDX from '@next/mdx'
import remarkGfm from 'remark-gfm'
const withMDX = createMDX({
// Add markdown plugins here, as desired
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [],
},
})
/** @type {import('next').NextConfig} */
const nextConfig = {
/* Breaks currently used 'next start' due to:
* Error: "next start" does not work with "output: export" configuration.
* Use "npx serve@latest out" instead. */
output: 'export',
trailingSlash: true,
images: {
unoptimized: true,
},
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
images: {
// loader: 'imgix',
domains: ['ordinal-operators.s3.amazonaws.com'],
},
}
export default withMDX(nextConfig)