diff --git a/packages/babel-preset-react-app/create.js b/packages/babel-preset-react-app/create.js index 7b7f1da6ed1..88e345db082 100644 --- a/packages/babel-preset-react-app/create.js +++ b/packages/babel-preset-react-app/create.js @@ -170,6 +170,10 @@ module.exports = function(api, opts, env) { { corejs: false, helpers: areHelpersEnabled, + // By default, babel assumes babel/runtime version 7.0.0-beta.0, + // explicitly resolving to match the provided helper functions. + // https://github.com/babel/babel/issues/10261 + version: require('@babel/runtime/package.json').version, regenerator: true, // https://babeljs.io/docs/en/babel-plugin-transform-runtime#useesmodules // We should turn this on once the lowest version of Node LTS