coblocks
coblocks copied to clipboard
ISBAT understand performance difference of excluding polyfill
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.