Skip to content

Not able to add webpack config in next.config.ts using hydrationoverlay wrapper #43

@Shubhdeep12

Description

@Shubhdeep12

Here in this PR - #41

While adding a test case for next-app-dir-with-sentry-spotlight
I added a webpack plugin to run spotlight sidecar but it turns out it was not getting added as the next config was wrapped with

const {
  withHydrationOverlay,
} = require("@builder.io/react-hydration-overlay/next");

on removing the wrapper and just exporting the nextconfig the plugins was getting added and worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions