godaddy-wordpress / godaddy-wordpress/coblocks

ISBAT understand performance difference of excluding polyfill

Open
#2,069 0 comments 0 reactions 1 assignee Assigned to @AnthonyLedesma View on GitHub
[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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.