diff --git a/docs/examples/webpack/.browserslistrc b/docs/examples/webpack/.browserslistrc index ad5567eec6..25de95fef0 100644 --- a/docs/examples/webpack/.browserslistrc +++ b/docs/examples/webpack/.browserslistrc @@ -7,6 +7,16 @@ Firefox ESR Safari >= 12 iOS >= 12.1 +[javascripts] +> 0.1% in GB and supports es6-module +last 6 Chrome versions +last 6 Firefox versions +last 6 Edge versions +last 2 Samsung versions +Firefox ESR +Safari >= 12 and not Safari < 11 +iOS >= 12.1 and not iOS < 11 + [stylesheets] > 0.1% in GB and not dead last 6 Chrome versions diff --git a/docs/examples/webpack/babel.config.js b/docs/examples/webpack/babel.config.js index 621756485a..37705adb24 100644 --- a/docs/examples/webpack/babel.config.js +++ b/docs/examples/webpack/babel.config.js @@ -5,7 +5,7 @@ */ module.exports = function (api) { const browserslistEnv = !api.env('test') - ? 'production' + ? 'javascripts' : 'node' return { diff --git a/packages/govuk-frontend-review/.browserslistrc b/packages/govuk-frontend-review/.browserslistrc index ad5567eec6..25de95fef0 100644 --- a/packages/govuk-frontend-review/.browserslistrc +++ b/packages/govuk-frontend-review/.browserslistrc @@ -7,6 +7,16 @@ Firefox ESR Safari >= 12 iOS >= 12.1 +[javascripts] +> 0.1% in GB and supports es6-module +last 6 Chrome versions +last 6 Firefox versions +last 6 Edge versions +last 2 Samsung versions +Firefox ESR +Safari >= 12 and not Safari < 11 +iOS >= 12.1 and not iOS < 11 + [stylesheets] > 0.1% in GB and not dead last 6 Chrome versions diff --git a/packages/govuk-frontend/.browserslistrc b/packages/govuk-frontend/.browserslistrc index ae4358274f..9806cf15c2 100644 --- a/packages/govuk-frontend/.browserslistrc +++ b/packages/govuk-frontend/.browserslistrc @@ -10,6 +10,16 @@ Firefox ESR Safari >= 12 iOS >= 12.1 +[javascripts] +> 0.1% in GB and supports es6-module +last 6 Chrome versions +last 6 Firefox versions +last 6 Edge versions +last 2 Samsung versions +Firefox ESR +Safari >= 12 and not Safari < 11 +iOS >= 12.1 and not iOS < 11 + [stylesheets] > 0.1% in GB and not dead last 6 Chrome versions