2024-09-11 00:58:57 +09:00
|
|
|
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 = {
|
2024-11-19 00:21:07 +07:00
|
|
|
/* Breaks currently used 'next start' due to:
|
|
|
|
* Error: "next start" does not work with "output: export" configuration.
|
|
|
|
* Use "npx serve@latest out" instead. */
|
2024-12-13 00:50:41 +09:00
|
|
|
output: 'export',
|
2024-11-05 23:09:44 +09:00
|
|
|
trailingSlash: true,
|
|
|
|
images: {
|
|
|
|
unoptimized: true,
|
|
|
|
},
|
2024-12-17 00:54:37 +09:00
|
|
|
generateBuildId: async () => {
|
|
|
|
return 'dashboard-build'
|
|
|
|
},
|
2024-09-11 00:58:57 +09:00
|
|
|
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
|
|
|
|
images: {
|
2024-11-05 23:09:44 +09:00
|
|
|
// loader: 'imgix',
|
|
|
|
domains: ['ordinal-operators.s3.amazonaws.com'],
|
2024-09-11 00:58:57 +09:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
export default withMDX(nextConfig)
|