mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
27 lines
750 B
JavaScript
27 lines
750 B
JavaScript
const withContentlayer = require("next-contentlayer").withContentlayer;
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
transpilePackages: ["@nextui-org/react", "@nextui-org/theme"],
|
|
swcMinify: true,
|
|
reactStrictMode: true, // Recommended for the `pages` directory, default in `app`.
|
|
redirects: require("./next-redirect.js"),
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
typescript: {
|
|
// ignoreBuildErrors: process.env.IS_VERCEL_ENV === "true",
|
|
ignoreBuildErrors: true,
|
|
},
|
|
images: {
|
|
domains: [
|
|
"opencollective-production.s3.us-west-1.amazonaws.com",
|
|
"avatars.githubusercontent.com",
|
|
"logo.clearbit.com",
|
|
"i.pravatar.cc",
|
|
],
|
|
},
|
|
};
|
|
|
|
module.exports = withContentlayer(nextConfig);
|