const path = require("path"); /** @type {import('next').NextConfig} */ const nextConfig = { transpilePackages: ["@repo/convex", "@repo/types", "@repo/utils"], turbopack: { root: path.join(__dirname, "..", ".."), }, images: { remotePatterns: [ { protocol: "https", hostname: "res.cloudinary.com", pathname: "/**", }, ], }, // PPR: enable when using Next.js canary. Uncomment and add experimental_ppr to PDP page: // experimental: { ppr: "incremental" }, }; module.exports = nextConfig;