Run Next.js with Sentry without any warning.
warn - Invalid next.config.js options detected:
[
{
"instancePath": "",
"schemaPath": "#/additionalProperties",
"keyword": "additionalProperties",
"params": {
"additionalProperty": "sentry"
},
"message": "must NOT have additional properties"
}
]
See more info here: https://nextjs.org/docs/messages/invalid-next-config
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/nextjs
SDK Version
7.7.0
Framework Version
12.2.3
Link to Sentry event
No response
Steps to Reproduce
hidden-source-mapby setting thehideSourceMapsoption innext.config.jsnext devto start Next.js in development modeExpected Result
Run Next.js with Sentry without any warning.
Actual Result
Since the introduction of the
next.config.jsvalidation viaajvon version12.2.3, the following warning is raised.