Skip to content

Commit 22f3241

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

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Diff for: .babelrc.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ 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
]
11-
],
12-
plugins: [
13-
'@babel/plugin-proposal-object-rest-spread'
1411
]
1512
};

Diff for: package.json

-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
"devDependencies": {
9595
"@babel/cli": "^7.10.3",
9696
"@babel/core": "^7.10.3",
97-
"@babel/plugin-proposal-object-rest-spread": "^7.10.3",
9897
"@babel/preset-env": "^7.10.3",
9998
"@rollup/plugin-babel": "^5.0.4",
10099
"@rollup/plugin-commonjs": "^13.0.0",

0 commit comments

Comments
 (0)