Skip to content

@sentry/nextjs: is the webpack plugin/configuration necessary? #3553

Closed
@soulprovidr

Description

@soulprovidr

Hi all,

First of all, thank you for your work on Sentry – it's a great service.

I'm trying to set up Sentry with an existing Next.js application, but I am finding that the 'architecture' or functionality of @sentry/nextjs is not totally clear to me.

I am aiming for a super minimal setup where uncaught errors on the client and on the server are sent to Sentry and stored for further triage by the team. Is it necessary to use and configure sentry-webpack-plugin for this purpose?

From looking at the source code, it seems like the Webpack plugin is mostly (only?) concerned with Sentry's "Releases" feature, and ideally I would like to avoid adding 5-6 environment variables (or managing sentry.properties) just to log errors when we are currently not interested in using this feature.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions