Files
Shifted/next.config.js
2026-02-10 01:14:19 +00:00

16 lines
348 B
JavaScript

let withSentryConfig = null;
try {
// Optional dependency: only wrap if @sentry/nextjs is installed.
({ withSentryConfig } = require("@sentry/nextjs"));
} catch {
withSentryConfig = null;
}
const nextConfig = {
reactStrictMode: true,
};
module.exports = withSentryConfig
? withSentryConfig(nextConfig, { silent: true })
: nextConfig;