Skip to content

Commit 1c63e6d

Browse files
committed
Remove babel-preset-es2015-parameters
babel/babel#4851 is closed
1 parent a5f9a32 commit 1c63e6d

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/babel-preset-node-module/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ function buildPreset(context, opts) {
3535
],
3636
// const { a, ...z } = obj;
3737
require.resolve('babel-plugin-transform-es2015-destructuring'),
38-
// const fn = ({ a, ...otherProps }) => otherProps;
39-
require.resolve('babel-plugin-transform-es2015-parameters'),
4038
];
4139

4240
// This is similar to how `env` works in Babel:

packages/babel-preset-node-module/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"dependencies": {
1414
"babel-plugin-transform-class-properties": "6.23.0",
1515
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
16-
"babel-plugin-transform-es2015-parameters": "^6.23.0",
1716
"babel-plugin-transform-object-rest-spread": "6.23.0",
1817
"babel-plugin-transform-react-constant-elements": "6.23.0",
1918
"babel-plugin-transform-react-jsx": "^6.23.0",

0 commit comments

Comments
 (0)