1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-21 17:37:01 +01:00
metamask-extension/babel.config.js
Mark Stacey 524ab66a16
Update minimum browser versions (#12847)
The minimum browser versions have been updated to Chromium v80 and
Firefox v78.

Chromium v80 is >3 years old, and very few users use older versions
than that.

Firefox v78 is two extended support releases ago (v91 and v102 ar the
previous and current ESR releases).
2023-02-24 11:39:56 -03:30

17 lines
307 B
JavaScript

module.exports = function (api) {
api.cache(false);
return {
parserOpts: {
strictMode: true,
},
targets: {
browsers: ['chrome >= 80', 'firefox >= 78'],
},
presets: [
'@babel/preset-typescript',
'@babel/preset-env',
'@babel/preset-react',
],
};
};