Closed
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser
-
@sentry/node
-
raven-js
-
raven-node
(raven for node) - other: @sentry/nextjs
Version:
6.7.2
Description
When upgrading from v6.7.1
to v6.7.2
of @sentry/nextjs the plugin no longer builds and uploads sourcemaps. It simply acts as if the plugin was never installed.
const composePlugins = require('next-compose-plugins');
const { withSentryConfig } = require('@sentry/nextjs');
const nextConfig = {
// ...
};
const sentryWebpackPluginOptions = {
// Additional config options for the Sentry Webpack plugin. Keep in mind that
// the following options are set automatically, and overriding them is not
// recommended:
// release, url, org, project, authToken, configFile, stripPrefix,
// urlPrefix, include, ignore
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options.
};
module.exports = composePlugins([
...otherPlugins,
[withSentryConfig, sentryWebpackPluginOptions],
], nextConfig);
The above config worked fine on v6.7.1
, but does nothing on v6.7.2
.