@@ -104,6 +104,7 @@ class BundleAnalyzerPlugin {
104104 host : this . opts . analyzerHost ,
105105 port : this . opts . analyzerPort ,
106106 reportTitle : this . opts . reportTitle ,
107+ compressedSize : this . opts . compressedSize ,
107108 bundleDir : this . getBundleDirFromCompiler ( ) ,
108109 logger : this . logger ,
109110 defaultSizes : this . opts . defaultSizes ,
@@ -115,6 +116,7 @@ class BundleAnalyzerPlugin {
115116 async generateJSONReport ( stats ) {
116117 await viewer . generateJSONReport ( stats , {
117118 reportFilename : path . resolve ( this . compiler . outputPath , this . opts . reportFilename || 'report.json' ) ,
119+ compressedSize : this . opts . compressedSize ,
118120 bundleDir : this . getBundleDirFromCompiler ( ) ,
119121 logger : this . logger ,
120122 excludeAssets : this . opts . excludeAssets
@@ -126,6 +128,7 @@ class BundleAnalyzerPlugin {
126128 openBrowser : this . opts . openAnalyzer ,
127129 reportFilename : path . resolve ( this . compiler . outputPath , this . opts . reportFilename || 'report.html' ) ,
128130 reportTitle : this . opts . reportTitle ,
131+ compressedSize : this . opts . compressedSize ,
129132 bundleDir : this . getBundleDirFromCompiler ( ) ,
130133 logger : this . logger ,
131134 defaultSizes : this . opts . defaultSizes ,
0 commit comments