-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Disable webpack perf hints when compiling packages #57155
Conversation
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
Size Change: 0 B Total Size: 1.71 MB ℹ️ View Unchanged
|
Flaky tests detected in 203c461. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7247485048
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good to me 👍 I agree those are only adding noise.
* Disable webpack perf hints when compiling packages * Rewrite reduce to fromEntries in packages webpack config
When webpack builds the
packages
directory, it outputs some performance warnings because the bundles are larger than the default limit:This PR disables these warnings because they are mostly spam, we don't really look at and act on them.
As a drive-by, I'm refactoring
.reduce
toObject.fromEntries
a few lines up in the same webpack config. Not logically related, just code that's physically close 🙂