21 lines
468 B
JavaScript
21 lines
468 B
JavaScript
import million from "million/compiler";
|
|
import createMDX from '@next/mdx'
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
|
|
swcMinify: true,
|
|
reactStrictMode: true,
|
|
output: "standalone",
|
|
};
|
|
|
|
const millionConfig = {
|
|
auto: { rsc: true }, rsc: true
|
|
}
|
|
|
|
const withMDX = createMDX({
|
|
// Add markdown plugins here, as desired
|
|
})
|
|
|
|
export default withMDX(million.next(nextConfig, millionConfig));
|