File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-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
}
Original file line number Diff line number Diff line change 2
2
"extends" : " ../../tsconfig.json" ,
3
3
"compilerOptions" : {
4
4
"baseUrl" : " ." ,
5
+ "esModuleInterop" : true ,
5
6
"outDir" : " dist" ,
6
7
},
7
8
"include" : [" src/**/*.ts" ]
You can’t perform that action at this time.
0 commit comments