We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5ebecd commit 363b5f1Copy full SHA for 363b5f1
packages/govuk-frontend/babel.config.js
@@ -49,6 +49,18 @@ module.exports = function (api) {
49
50
// Browser support polyfills to exclude
51
exclude: [
52
+ // Ignore various fixes in supported features
53
+ // https://github.com/zloirock/core-js/blob/v3/packages/core-js-compat/src/data.mjs
54
+ 'es.array.includes',
55
+ 'es.array.iterator',
56
+ 'es.array.push',
57
+ 'es.regexp.exec',
58
+ 'es.regexp.to-string',
59
+ 'es.string.includes',
60
+ 'es.string.match',
61
+ 'es.string.replace',
62
+ 'es.string.trim',
63
+
64
// ES2022 Error cause is unused
65
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause
66
'es.error.cause',
0 commit comments