Fix asset size comparison for multi build stats (#3514)
If create-react-app project is ejected and webpack configuration is modified to multi build setup FileSizeReporter would fail. In those situations `webpackStats` parameter would contain stats array for each build. This fix will try to access stats and then falls back to using plaing webpackStats object.
Showing
+23 -15
Please register or sign in to comment