nextui/apps/docs/next.config.js
Maharshi Alpesh c1baa746b2
fix: replacing the light mode bg in to nextui-pro section (#4355)
* fix: replacing the light mode bg and adding bg to nextui-pro section on mobile

* fix: making the transitions smoother

* chore: removing the bg on mobile devices

* fix: pro section and improvements

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-20 10:05:43 -03:00

46 lines
1.1 KiB
JavaScript

const withContentlayer = require("next-contentlayer2").withContentlayer;
/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: ["@nextui-org/react", "@nextui-org/theme"],
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: {
remotePatterns: [
{
protocol: "https",
hostname: "opencollective-production.s3.us-west-1.amazonaws.com",
},
{
protocol: "https",
hostname: "avatars.githubusercontent.com",
},
{
protocol: "https",
hostname: "logo.clearbit.com",
},
{
protocol: "https",
hostname: "i.pravatar.cc",
},
{
protocol: "https",
hostname: "nextui.org",
},
{
protocol: "https",
hostname: "heroui-assets.nyc3.cdn.digitaloceanspaces.com",
},
],
},
};
module.exports = withContentlayer(nextConfig);