Skip to content

Commit

Permalink
Switch to regexp exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomes committed Nov 26, 2024
1 parent 80ca41d commit 0a7804d
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions packages/babel-preset-default/polyfill-exclusions.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,7 @@ module.exports = [
//
// These need to be specified as both `es.` and `esnext.` due to the way
// internal dependencies are set up in Babel / core-js.
'es.set.difference.v2',
'es.set.is-disjoint-from.v2',
'es.set.is-subset-of.v2',
'es.set.is-superset-of.v2',
'es.set.symmetric-difference.v2',
'es.set.union.v2',
'es.set.intersection.v2',
'esnext.set.difference.v2',
'esnext.set.is-disjoint-from.v2',
'esnext.set.is-subset-of.v2',
'esnext.set.is-superset-of.v2',
'esnext.set.symmetric-difference.v2',
'esnext.set.union.v2',
'esnext.set.intersection.v2',
//
// @see https://github.com/WordPress/gutenberg/pull/67230
/^es(next)?\.set\./,
];

0 comments on commit 0a7804d

Please sign in to comment.