Files
shadcn-ui/apps/www/next.config.mjs
2023-01-24 19:51:29 +04:00

22 lines
457 B
JavaScript

import { withContentlayer } from "next-contentlayer"
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
images: {
domains: ["avatars.githubusercontent.com", "images.unsplash.com"],
},
experimental: {
appDir: true,
fontLoaders: [
{
loader: "@next/font/google",
options: { subsets: ["latin"] },
},
],
},
}
export default withContentlayer(nextConfig)