MM-52539 Unify versions of Babel used throughout web app and remove unneeded libraries (#23543)

* Remove unneeded Babel plugins and update Babel preset

* Remove unneeded babel/cli package

* Update and share Babel and presets

* Update and share babel-plugin-styled-components

* Update and share babel-plugin-formatjs

* Update and share babel-plugin-typescript-to-proptypes

* Update and share babel-loader

* Remove all Babel-related ESLint libraries

* Remove unused babel-jest from Playbooks

* MM-51968 Remove unused Babel libraries from Boards

* Update snapshots because of course I have to

* Update snapshot
Этот коммит содержится в:
Harrison Healey
2023-06-08 17:05:21 -04:00
коммит произвёл GitHub
родитель cbfc14b2b4
Коммит 11c0a861b2
15 изменённых файлов: 480 добавлений и 2525 удалений

Просмотреть файл

@@ -5,14 +5,12 @@ const config = {
presets: [
['@babel/preset-env', {
targets: {
chrome: 66,
firefox: 60,
edge: 42,
safari: 12,
chrome: 110,
firefox: 102,
edge: 110,
safari: 16,
},
modules: 'auto',
corejs: 3,
debug: false,
useBuiltIns: 'usage',
shippedProposals: true,
}],
@@ -26,8 +24,6 @@ const config = {
],
plugins: [
'lodash',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
'react-hot-loader/babel',
'babel-plugin-typescript-to-proptypes',
[