From eefe7e2fac3e3f23f75e8eaf111596ba0a9f4565 Mon Sep 17 00:00:00 2001 From: Nick Galloway Date: Fri, 30 Oct 2020 15:45:01 -0700 Subject: [PATCH] reconcile with upstream as of 545d4607c81dd876c06f66b8104056a3570af242 (#9) --- packages/babel-preset-react-app/create.js | 9 --------- packages/create-react-app/yarn.lock.cached | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/babel-preset-react-app/create.js b/packages/babel-preset-react-app/create.js index f8a074decac..99a930ba470 100644 --- a/packages/babel-preset-react-app/create.js +++ b/packages/babel-preset-react-app/create.js @@ -8,15 +8,6 @@ const path = require('path'); -const hasJsxRuntime = (() => { - try { - require.resolve('react/jsx-runtime.js'); - return true; - } catch (e) { - return false; - } -})(); - const validateBoolOption = (name, value, defaultValue) => { if (typeof value === 'undefined') { value = defaultValue; diff --git a/packages/create-react-app/yarn.lock.cached b/packages/create-react-app/yarn.lock.cached index fa101957eae..7ec4ada0934 100644 --- a/packages/create-react-app/yarn.lock.cached +++ b/packages/create-react-app/yarn.lock.cached @@ -11470,4 +11470,4 @@ yargs@^15.4.1: string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^18.1.2" \ No newline at end of file + yargs-parser "^18.1.2"