coblocks icon indicating copy to clipboard operation
coblocks copied to clipboard

ISBAT understand performance difference of excluding polyfill

Open AnthonyLedesma opened this issue 4 years ago • 0 comments

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.

AnthonyLedesma avatar Oct 11 '21 16:10 AnthonyLedesma