Swap babel/polyfill to wp-polyfill for Slideshow block #31689
Labels
[Goal] Gutenberg
Working towards full integration with Gutenberg
[Pri] Normal
Schedule for the next available opportuinity.
Slideshow
[Type] Enhancement
Changes to an existing feature — removing, adding, or changing parts of it
Instead of importing Babel-polyfill in Slideshow block:
wp-calypso/packages/jetpack-blocks/src/blocks/slideshow/create-swiper.js
Line 5 in 5084aac
We can enqueue wp-polyfill here:
https://github.com/Automattic/jetpack/blob/11ce14e6981c36127d07e21b12c00fb77a11b752/extensions/blocks/slideshow/slideshow.php#L26-L28
See tiled gallery for example:
https://github.com/Automattic/jetpack/blob/11ce14e6981c36127d07e21b12c00fb77a11b752/extensions/blocks/tiled-gallery/tiled-gallery.php#L32
Background convo:
#31228 (comment)
Automattic/jetpack#11487
p1553269980124300-slack-jetpack-gutenberg
The text was updated successfully, but these errors were encountered: