Skip to content

Commit

Permalink
fix(nextjs): Export SentryWebpackPluginOptions type (#4597)
Browse files Browse the repository at this point in the history
This will allow people who want typing in their `next.config.js` file to have it without digging into `dist`.

See vercel/next.js#28726.
  • Loading branch information
lobsterkatie committed Feb 16, 2022
1 parent a789ccd commit 3e481e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nextjs/src/index.server.ts
Expand Up @@ -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
Expand Down

0 comments on commit 3e481e4

Please sign in to comment.