Skip to content

Commit

Permalink
Opt out of using helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Jul 27, 2016
1 parent 59b1153 commit 7008de7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions config/babel.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ module.exports = {
'babel-plugin-transform-object-rest-spread'
].map(require.resolve).concat([
[require.resolve('babel-plugin-transform-runtime'), {
regenerator: true,
polyfill: false
helpers: false,
polyfill: false,
regenerator: true
}]
])
};
5 changes: 3 additions & 2 deletions config/babel.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ module.exports = {
'babel-plugin-transform-react-constant-elements',
].map(require.resolve).concat([
[require.resolve('babel-plugin-transform-runtime'), {
regenerator: true,
polyfill: false
helpers: false,
polyfill: false,
regenerator: true
}]
])
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"babel-plugin-transform-class-properties": "6.10.2",
"babel-plugin-transform-object-rest-spread": "6.8.0",
"babel-plugin-transform-react-constant-elements": "6.9.1",
"babel-plugin-transform-runtime": "6.9.0",
"babel-plugin-transform-runtime": "6.12.0",
"babel-preset-es2015": "6.9.0",
"babel-preset-es2016": "6.11.3",
"babel-preset-react": "6.11.1",
Expand Down

0 comments on commit 7008de7

Please sign in to comment.