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 1
1
import { getSentryRelease } from '@sentry/node' ;
2
2
import { dropUndefinedKeys , logger } from '@sentry/utils' ;
3
- import * as SentryWebpackPlugin from '@sentry/webpack-plugin' ;
3
+ import { default as SentryWebpackPlugin } from '@sentry/webpack-plugin' ;
4
4
import * as fs from 'fs' ;
5
5
import * as path from 'path' ;
6
6
import { DefinePlugin , WebpackPluginInstance } from 'webpack' ;
@@ -109,8 +109,6 @@ export function constructWebpackConfigFunction(
109
109
}
110
110
111
111
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
114
112
new SentryWebpackPlugin ( getWebpackPluginOptions ( buildContext , userSentryWebpackPluginOptions ) ) ,
115
113
) ;
116
114
}
You can’t perform that action at this time.
0 commit comments