We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7624607 commit 2c89413Copy full SHA for 2c89413
packages/nextjs/src/config/webpack.ts
@@ -189,7 +189,7 @@ export function constructWebpackConfigFunction(
189
});
190
}
191
192
- if (userSentryOptions.autoInstrumentAppDirectory) {
+ if (isServer && userSentryOptions.autoInstrumentAppDirectory !== false) {
193
// Wrap page server components
194
newConfig.module.rules.unshift({
195
test: resourcePath => {
0 commit comments