File tree 1 file changed +3
-0
lines changed
packages/nextjs/src/utils 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,8 @@ export function withSentryConfig(
153
153
}
154
154
155
155
const newWebpackExport = ( config : WebpackConfig , options : WebpackOptions ) : WebpackConfig => {
156
+ console . log ( 'webpack config:' , config ) ;
157
+ debugger ;
156
158
// if we're building server code, store the webpack output path as an env variable, so we know where to look for the
157
159
// webpack-processed version of `sentry.server.config.js` when we need it
158
160
if ( config . target === 'node' ) {
@@ -187,6 +189,7 @@ export function withSentryConfig(
187
189
// could also be fixed by using `bind`, but this is way simpler.)
188
190
const origEntryProperty = newConfig . entry ;
189
191
newConfig . entry = ( ) => injectSentry ( origEntryProperty , options . isServer ) ;
192
+ console . log ( newConfig . entry ) ;
190
193
191
194
// Add the Sentry plugin, which uploads source maps to Sentry when not in dev
192
195
newConfig . plugins . push (
You can’t perform that action at this time.
0 commit comments