import type { NextConfig } from "next"; const nextConfig: NextConfig = { /* config options here */ reactCompiler: true, serverExternalPackages: ["canvas", "sharp", "tesseract.js", "pdfjs-dist"], images: { remotePatterns: [ { protocol: "https", hostname: "lh3.googleusercontent.com", }, ], }, }; export default nextConfig;