-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Difference in file size not reported in 2.0 #5333
Milestone
Comments
Want to look into why? |
Sure, I will give it a try |
OskarPersson
added a commit
to OskarPersson/create-react-app
that referenced
this issue
Oct 6, 2018
Fixes facebook#5333 printFileSizesAfterBuild calls canReadAsset with an object containing the file name while measureFileSizesBeforeBuild calls it with just the name. When canReadAsset only receives the name it returns false since accessing the `name` property results in undefined. This commit fixes that by having canReadAssset instead expect only the file name and making printFileSizesAfterBuild just like measureFileSizesBeforeBuild only provide the name as argument.
Timer
pushed a commit
that referenced
this issue
Oct 6, 2018
Fixes #5333 printFileSizesAfterBuild calls canReadAsset with an object containing the file name while measureFileSizesBeforeBuild calls it with just the name. When canReadAsset only receives the name it returns false since accessing the `name` property results in undefined. This commit fixes that by having canReadAssset instead expect only the file name and making printFileSizesAfterBuild just like measureFileSizesBeforeBuild only provide the name as argument.
Pong420
pushed a commit
to Pong420/create-react-app
that referenced
this issue
Feb 24, 2019
Fixes facebook#5333 printFileSizesAfterBuild calls canReadAsset with an object containing the file name while measureFileSizesBeforeBuild calls it with just the name. When canReadAsset only receives the name it returns false since accessing the `name` property results in undefined. This commit fixes that by having canReadAssset instead expect only the file name and making printFileSizesAfterBuild just like measureFileSizesBeforeBuild only provide the name as argument.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Environment
Steps to Reproduce
(Write your steps here:)
Expected Behavior
Difference in file sizes after gzip is reported on
yarn build
:Actual Behavior
Difference in file sizes after gzip is not reported on
yarn build
The text was updated successfully, but these errors were encountered: