godaddy-wordpress / godaddy-wordpress/coblocks
ISBAT understand performance difference of excluding polyfill
Open
[Priority] Low
- Dominant language
- JavaScript
- Stars
- 794
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug:
Investigate the use of 'DependencyExtractionWebpackPlugin' and '{ injectPolyfill: true }' in our webpack configuration. This PR on Gutenberg is a performance optimization by setting injectPolyfill `false`.
https://github.com/WordPress/gutenberg/pull/35038
Sounds like this might remove around 20KB of scripts from the frontend.
**Note** This may be more difficult to understand the performance impact because the performance tests are running from an editor context.
Contributor guide
Assessment
This issue has not been assessed yet.