File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/nextjs/src/config Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 11import { getSentryRelease } from '@sentry/node' ;
22import { dropUndefinedKeys , logger } from '@sentry/utils' ;
3- import * as SentryWebpackPlugin from '@sentry/webpack-plugin' ;
3+ import { default as SentryWebpackPlugin } from '@sentry/webpack-plugin' ;
44import * as fs from 'fs' ;
55import * as path from 'path' ;
66import { DefinePlugin , WebpackPluginInstance } from 'webpack' ;
@@ -109,8 +109,6 @@ export function constructWebpackConfigFunction(
109109 }
110110
111111 newConfig . plugins . push (
112- // @ts -ignore Our types for the plugin are messed up somehow - TS wants this to be `SentryWebpackPlugin.default`,
113- // but that's not actually a thing
114112 new SentryWebpackPlugin ( getWebpackPluginOptions ( buildContext , userSentryWebpackPluginOptions ) ) ,
115113 ) ;
116114 }
You can’t perform that action at this time.
0 commit comments