Skip to content

Commit

Permalink
docs(nextjs): fix plugin docs for Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored and juristr committed Nov 24, 2023
1 parent 6e7141b commit 0df8293
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/shared/packages/next/next-config-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
// 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;
};
Expand Down

1 comment on commit 0df8293

@vercel
Copy link

@vercel vercel bot commented on 0df8293 Nov 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx.dev
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx-five.vercel.app

Please sign in to comment.