Build: Remove polyfills from block view scripts

Related changes in Gutenberg: https://github.com/WordPress/gutenberg/pull/35038.

When adding a block with a view.js script, the frontend loads an additional ~20kb of scripts that were previously not there. These are coming from polyfills that are defined as a dependency for view.js scripts.
Since WordPress dropped support for IE, these polyfills are no longer needed and can be removed.

Follow-up to [51501].
See #53690.
Props aristath.


Built from https://develop.svn.wordpress.org/trunk@52011


git-svn-id: http://core.svn.wordpress.org/trunk@51602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
gziolo 2021-11-04 15:57:58 +00:00
parent 507cc58f72
commit 56e4bf827d
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '650904f3ca9fdeab18131aab66cea896');
<?php return array('dependencies' => array(), 'version' => '650904f3ca9fdeab18131aab66cea896');

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'e8d668b8e69d9bf1c99dc250d92f2b72');
<?php return array('dependencies' => array(), 'version' => 'e8d668b8e69d9bf1c99dc250d92f2b72');

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-52010';
$wp_version = '5.9-alpha-52011';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.