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