Not able to add webpack config in next.config.ts using hydrationoverlay wrapper
Shubhdeep12 opened this issue · comments
Shubhdeep Chhabra commented
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.