• Juhamatti Niemelä's avatar
    Fix asset size comparison for multi build stats (#3514) · d61a3313
    Juhamatti Niemelä authored
    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.
    d61a3313