docs(nextjs): fix plugin docs for Sentry
This commit is contained in:
parent
6e7141b22c
commit
0df8293c91
@ -125,7 +125,8 @@ module.exports = async (phase, context) => {
|
|||||||
|
|
||||||
// If you have plugins that has to be added after Nx you can do that here.
|
// If you have plugins that has to be added after Nx you can do that here.
|
||||||
// For example, Sentry needs to be added last.
|
// For example, Sentry needs to be added last.
|
||||||
updatedConfig = require('@sentry/nextjs')(updatedConfig, { silent: true });
|
const { withSentryConfig } = require('@sentry/nextjs');
|
||||||
|
updatedConfig = withSentryConfig(updatedConfig);
|
||||||
|
|
||||||
return updatedConfig;
|
return updatedConfig;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user