diff --git a/examples/utils/bundle-size-tests/webpack.config.cjs b/examples/utils/bundle-size-tests/webpack.config.cjs index 7adc673d3a04..f317c0812363 100644 --- a/examples/utils/bundle-size-tests/webpack.config.cjs +++ b/examples/utils/bundle-size-tests/webpack.config.cjs @@ -130,4 +130,7 @@ module.exports = { file: path.resolve(process.cwd(), "bundleAnalysis/bundleStats.msp.gz"), }), ], + // Enabling source maps allows using source-map-explorer to investigate bundle contents, + // which provides more fine grained details than BundleAnalyzerPlugin, so its nice for manual investigations. + devtool: "source-map", };