Skip to content

Commit

Permalink
babel-preset: remove babel-plugin-transform-es2015-parameters (#1598)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau authored and Timer committed Feb 23, 2017
1 parent 71be55b commit 0a41334
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions packages/babel-preset-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ if (env === 'development' || env === 'test') {
}

if (env === 'test') {
plugins.push.apply(plugins, [
// We always include this plugin regardless of environment
// because of a Babel bug that breaks object rest/spread without it:
// https://github.com/babel/babel/issues/4851
require.resolve('babel-plugin-transform-es2015-parameters')
]);

module.exports = {
presets: [
// ES features necessary for user's Node version
Expand Down
1 change: 0 additions & 1 deletion packages/babel-preset-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
],
"dependencies": {
"babel-plugin-transform-class-properties": "6.22.0",
"babel-plugin-transform-es2015-parameters": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.22.0",
"babel-plugin-transform-react-constant-elements": "6.22.0",
"babel-plugin-transform-react-jsx": "6.22.0",
Expand Down

0 comments on commit 0a41334

Please sign in to comment.