Skip to content

Commit

Permalink
Add wp-polyfill as dependency to react (#11916)
Browse files Browse the repository at this point in the history
  • Loading branch information
IreneStr authored and youknowriad committed Nov 15, 2018
1 parent 1237243 commit cc91689
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,8 @@ function gutenberg_register_vendor_scripts() {

gutenberg_register_vendor_script(
'react',
'https://unpkg.com/[email protected]/umd/react' . $react_suffix . '.js'
'https://unpkg.com/[email protected]/umd/react' . $react_suffix . '.js',
array( 'wp-polyfill' )
);
gutenberg_register_vendor_script(
'react-dom',
Expand Down

0 comments on commit cc91689

Please sign in to comment.