Skip to content

Commit 720d90b

Browse files
authored
Sync dependencies babel config (#8120)
1 parent ddcb7d5 commit 720d90b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/babel-preset-react-app/dependencies.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ module.exports = function(api, opts) {
127127
{
128128
corejs: false,
129129
helpers: areHelpersEnabled,
130+
// By default, babel assumes babel/runtime version 7.0.0-beta.0,
131+
// explicitly resolving to match the provided helper functions.
132+
// https://github.com/babel/babel/issues/10261
133+
version: require('@babel/runtime/package.json').version,
130134
regenerator: true,
131135
// https://babeljs.io/docs/en/babel-plugin-transform-runtime#useesmodules
132136
// We should turn this on once the lowest version of Node LTS

0 commit comments

Comments
 (0)