From 3e481e4bcdef44ab58d1013e9e98defac1b68d40 Mon Sep 17 00:00:00 2001 From: Katie Byers Date: Wed, 16 Feb 2022 12:16:17 -0800 Subject: [PATCH] fix(nextjs): Export `SentryWebpackPluginOptions` type (#4597) This will allow people who want typing in their `next.config.js` file to have it without digging into `dist`. See https://github.com/vercel/next.js/pull/28726. --- packages/nextjs/src/index.server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nextjs/src/index.server.ts b/packages/nextjs/src/index.server.ts index 5fdc68380137..b5852a392dba 100644 --- a/packages/nextjs/src/index.server.ts +++ b/packages/nextjs/src/index.server.ts @@ -127,6 +127,7 @@ function filterTransactions(event: Event): Event | null { } export { withSentryConfig } from './config'; +export { SentryWebpackPluginOptions } from './config/types'; export { withSentry } from './utils/withSentry'; // Wrap various server methods to enable error monitoring and tracing. (Note: This only happens for non-Vercel