mirror of
https://github.com/ershisan99/www.git
synced 2025-12-17 05:19:23 +00:00
20 lines
529 B
JavaScript
20 lines
529 B
JavaScript
/**
|
|
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
|
|
* for Docker builds.
|
|
*/
|
|
import './src/env.js'
|
|
import { createMDX } from 'fumadocs-mdx/next'
|
|
import createNextIntlPlugin from 'next-intl/plugin'
|
|
|
|
const withMDX = createMDX()
|
|
/** @type {import("next").NextConfig} */
|
|
const config = {
|
|
output: 'standalone',
|
|
images: {
|
|
loader: 'custom',
|
|
loaderFile: './image-loader.js',
|
|
},
|
|
}
|
|
const withNextIntl = createNextIntlPlugin()
|
|
export default withNextIntl(withMDX(config))
|