diff --git a/.browserslistrc b/.browserslistrc index 8fddac98e4..fa76a1fc4d 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -1,6 +1,6 @@ >= 1% and last 2 major versions and not dead -Chrome >= 86 -Firefox >= 81 +Chrome >= 94 +Firefox >= 92 Firefox ESR -iOS >= 14 -Safari >= 14 +iOS >= 15 +Safari >= 15 diff --git a/babel.config.js b/babel.config.js index c8df1b3b40..7b7618c8f2 100644 --- a/babel.config.js +++ b/babel.config.js @@ -53,7 +53,8 @@ module.exports = function (api) { regenerator: true, corejs: false }], - ["@babel/plugin-transform-regenerator", { async: false }] + ["@babel/plugin-transform-regenerator", { async: false }], + "@babel/plugin-transform-class-properties" ].filter(Boolean) }; }; diff --git a/package.json b/package.json index 9cf405650d..fb0321da9a 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@babel/core": "^7.22.17", "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", + "@babel/plugin-transform-class-properties": "^7.22.5", "@babel/plugin-transform-runtime": "^7.22.15", "@babel/preset-env": "^7.22.15", "@babel/preset-typescript": "^7.22.15",