Babel: Refactoring config so that it's shared and removes legacy plugin (#32559)

* Updated plugins

* Fixing stuff

* Update

* Fixing more stuff
This commit is contained in:
Torkel Ödegaard
2021-03-31 19:09:19 +02:00
committed by GitHub
parent d42bfedd9e
commit b0ffcfd558
7 changed files with 125 additions and 195 deletions
+5 -1
View File
@@ -67,16 +67,20 @@
},
"devDependencies": {
"@babel/core": "7.13.14",
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.13.8",
"@babel/plugin-proposal-optional-chaining": "7.13.12",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-proposal-class-properties": "7.13.0",
"@babel/plugin-proposal-private-methods": "7.13.0",
"@babel/plugin-proposal-object-rest-spread": "7.13.8",
"@babel/plugin-transform-react-constant-elements": "7.13.13",
"@babel/preset-env": "7.13.12",
"@babel/preset-react": "7.13.13",
"@babel/preset-typescript": "7.13.0",
"@grafana/api-documenter": "7.11.2",
"@grafana/api-extractor": "7.10.1",
"@grafana/eslint-config": "2.3.0",
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
"@testing-library/jest-dom": "5.11.5",
"@testing-library/react": "11.1.2",
"@testing-library/react-hooks": "^3.2.1",