Upgrading to Babel 7; Fixing failing tests

This commit is contained in:
James Barnsley
2020-08-04 21:04:07 +12:00
parent df7a02a863
commit dbb41b4f57
15 changed files with 27928 additions and 28276 deletions

26
.babelrc Executable file
View File

@ -0,0 +1,26 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
],
"env": {
"development": {
"plugins": [
"react-element-info"
],
},
"test": {
"plugins": [
"react-element-info",
"@babel/plugin-transform-runtime",
],
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
}
}
}