How to remove Sentry
You may replace Sentry by another monitoring tool of your choice. Make sure it is JS universal-friendly though.
- Remove the following libraries:
@sentry/browser: Package to use from the browser.@sentry/node: Package to use from the server.
- Remove their components usage in the source code
- Remove the
SENTRY_DSNenv var, in.env.local - Remove alias in next.config.js
config.resolve.alias['@sentry/node'] = '@sentry/browser';