Skip to content

[Next] My webpack config is ignored since 7.22 #6339

Description

@simPod

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which package are you using?

@sentry/nextjs

SDK Version

7.22.0

Framework Version

No response

Link to Sentry event

No response

Steps to Reproduce

I believe it has something to do with

#6291

Have a custom webpack config:

/** * @type {import('next').NextConfig} */constnextConfig={
...
sentry: {disableClientWebpackPlugin: true,disableServerWebpackPlugin: true,},webpack(config,{ dev }){console.log('hi');returnconfig;},};

Expected Result

Echoes "hi" since it's picked up by Next

Actual Result

My webpack config is ignored

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions