We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f8596 commit c5acf29Copy full SHA for c5acf29
packages/govuk-frontend/babel.config.js
@@ -49,6 +49,17 @@ 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.regexp.exec',
57
+ 'es.regexp.to-string',
58
+ 'es.string.includes',
59
+ 'es.string.match',
60
+ 'es.string.replace',
61
+ 'es.string.trim',
62
+
63
// ES2022 Error cause is unused
64
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause
65
'es.error.cause',
0 commit comments