Skip to content

Commit ad8d3a6

Browse files
committed
Update Babel config (#31011)
* remove plugin-proposal-object-rest-spread * add bugfixes * `exclude: ['transform-typeof-symbol']` did nothing with our config
1 parent 9a6cfeb commit ad8d3a6

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.babelrc.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ module.exports = {
44
'@babel/preset-env',
55
{
66
loose: true,
7-
modules: false,
8-
exclude: ['transform-typeof-symbol']
7+
bugfixes: true,
8+
modules: false
99
}
1010
]
1111
],
12-
plugins: [
13-
'@babel/plugin-proposal-object-rest-spread'
14-
],
1512
env: {
1613
test: {
1714
plugins: [ 'istanbul' ]

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@
111111
"devDependencies": {
112112
"@babel/cli": "^7.10.3",
113113
"@babel/core": "^7.10.3",
114-
"@babel/plugin-proposal-object-rest-spread": "^7.10.3",
115114
"@babel/preset-env": "^7.10.3",
116115
"@rollup/plugin-babel": "^5.0.4",
117116
"@rollup/plugin-commonjs": "^13.0.0",

0 commit comments

Comments
 (0)