Skip to content

Commit

Permalink
Replace deprecated @babel/polyfill with `@wordpress/babel-preset-de…
Browse files Browse the repository at this point in the history
  • Loading branch information
pierlon committed Aug 30, 2021
1 parent 4205e6e commit b526135
Show file tree
Hide file tree
Showing 4 changed files with 28,357 additions and 44,285 deletions.
4 changes: 2 additions & 2 deletions assets/src/polyfills/wp-polyfill.js
@@ -1,6 +1,6 @@
/**
* External dependencies
* WordPress dependencies
*/
import * as polyfill from '@babel/polyfill';
import * as polyfill from '@wordpress/babel-preset-default/build/polyfill';

export default polyfill;

0 comments on commit b526135

Please sign in to comment.