Skip to content

Commit f81437d

Browse files
committed
Clean up .babelrc.js and remove @babel/plugin-proposal-object-rest-spread from package.json
* @babel/plugin-proposal-object-rest-spread is already included in @babel/preset-env * `exclude: ['transform-typeof-symbol']` did nothing with our config
1 parent 806f64e commit f81437d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.babelrc.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ module.exports = {
44
'@babel/preset-env',
55
{
66
loose: true,
7-
modules: false,
8-
exclude: ['transform-typeof-symbol']
7+
modules: false
98
}
109
]
1110
],
1211
plugins: [
1312
'@babel/plugin-proposal-object-rest-spread'
1413
]
15-
};
14+
}

package.json

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

0 commit comments

Comments
 (0)