Skip to content

Commit d77edf2

Browse files
author
Luca Forstner
committed
...
1 parent b4d1d9e commit d77edf2

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

dev-packages/e2e-tests/test-applications/create-next-app/instrumentation.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export function register() {
1414
// Adjust this value in production, or use tracesSampler for greater control
1515
tracesSampleRate: 1.0,
1616
integrations: [Sentry.localVariablesIntegration()],
17+
transportOptions: {
18+
bufferSize: 10_000,
19+
},
1720
});
1821

1922
Sentry.addEventProcessor(event => {

dev-packages/e2e-tests/test-applications/nextjs-14/next.config.js

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,10 @@
66
const { withSentryConfig } = require('@sentry/nextjs');
77

88
/** @type {import('next').NextConfig} */
9-
const moduleExports = {};
10-
11-
const sentryWebpackPluginOptions = {
12-
// Additional config options for the Sentry Webpack plugin. Keep in mind that
13-
// the following options are set automatically, and overriding them is not
14-
// recommended:
15-
// release, url, org, project, authToken, configFile, stripPrefix,
16-
// urlPrefix, include, ignore
17-
18-
silent: true, // Suppresses all logs
19-
// For all available options, see:
20-
// https://github.com/getsentry/sentry-webpack-plugin#options.
21-
22-
// We're not testing source map uploads at the moment.
23-
dryRun: true,
24-
};
9+
const nextConfig = {};
2510

2611
// Make sure adding Sentry options is the last code to run before exporting, to
2712
// ensure that your source maps include changes from all other Webpack plugins
28-
module.exports = withSentryConfig(moduleExports, sentryWebpackPluginOptions, {
29-
hideSourceMaps: true,
13+
module.exports = withSentryConfig(nextConfig, {
14+
silent: true,
3015
});

0 commit comments

Comments
 (0)