Bump Babel to latest version and update Babel targets (#2182)
* Bump Babel to latest version and update Babel targets * Bump babel to latest version
This commit is contained in:
parent
24bce11b05
commit
ea04ef0a90
7
.babelrc
7
.babelrc
|
@ -4,15 +4,14 @@
|
||||||
"@babel/env",
|
"@babel/env",
|
||||||
{
|
{
|
||||||
"targets": {
|
"targets": {
|
||||||
"chrome": "73",
|
"chrome": "96",
|
||||||
"node": 12
|
"node": 16
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@babel/typescript"
|
"@babel/typescript"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@babel/proposal-class-properties",
|
"@babel/proposal-class-properties"
|
||||||
"@babel/proposal-object-rest-spread"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
11
package.json
11
package.json
|
@ -97,15 +97,14 @@
|
||||||
"ytsr": "^3.8.0"
|
"ytsr": "^3.8.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.15.0",
|
"@babel/core": "^7.17.10",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
||||||
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
|
"@babel/preset-env": "^7.17.10",
|
||||||
"@babel/preset-env": "^7.15.0",
|
"@babel/preset-typescript": "^7.16.7",
|
||||||
"@babel/preset-typescript": "^7.15.0",
|
|
||||||
"@typescript-eslint/eslint-plugin": "^4.30.0",
|
"@typescript-eslint/eslint-plugin": "^4.30.0",
|
||||||
"@typescript-eslint/parser": "^4.30.0",
|
"@typescript-eslint/parser": "^4.30.0",
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"babel-loader": "^8.2.2",
|
"babel-loader": "^8.2.5",
|
||||||
"copy-webpack-plugin": "^9.0.1",
|
"copy-webpack-plugin": "^9.0.1",
|
||||||
"css-loader": "5.2.6",
|
"css-loader": "5.2.6",
|
||||||
"electron": "^16.2.5",
|
"electron": "^16.2.5",
|
||||||
|
|
Loading…
Reference in New Issue