Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FileSizeReporter for multi build Webpack setups #3514

Merged
merged 1 commit into from
Jan 9, 2018

Commits on Nov 28, 2017

  1. Fix asset size comparison for multi build stats

    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.
    iiska committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    5e851ba View commit details
    Browse the repository at this point in the history