import { withSentryConfig } from "@sentry/nextjs"; import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", images: { remotePatterns: [ { protocol: "https", hostname: "image.tmdb.org", pathname: "/t/p/**", }, ], }, }; export default withSentryConfig(nextConfig, { silent: true, sourcemaps: { disable: !process.env.SENTRY_AUTH_TOKEN, }, });