Closed stegano closed 2 years ago
If the include
option value is not entered, the urlPrefix option does not seem to work.
If I set the include option value, it works fine.
// next.config.js
...
module.exports = withSentryConfig(nextJsConfigs, {
...
include: '.next/static/',
usePrefix: '~/test',
...
}
Close the issue. I hope this issue helps someone.
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
6.19.1
Framework Version
6.19.1
Link to Sentry event
No response
Steps to Reproduce
Expected Result
The file path uploaded to the archive must start with
~/test/_next
.Actual Result
The file path uploaded to the archive starts with
~/_next
.