123456789101112131415161718 |
- import { withContentlayer } from "next-contentlayer"
- import fs from 'fs-extra'
- /** @type {import('next').NextConfig} */
- const nextConfig = {
- reactStrictMode: false,
- images: {
- domains: ["avatars.githubusercontent.com"],
- },
- experimental: {
- appDir: true
- },
- async redirects() {
- return JSON.parse(fs.readFileSync('./redirects.json'))
- },
- }
- export default withContentlayer(nextConfig)
|