From 6750423ca4b9371363fbad1a2be2de84a8e94054 Mon Sep 17 00:00:00 2001 From: Ruslan Lesiutin Date: Mon, 5 Aug 2024 07:53:08 +0100 Subject: [PATCH] chore[packages/react-devtools]: remove unused index.js (#30579) This is unused. See https://github.com/facebook/react/pull/30533#discussion_r1700455529. Ran a fresh build of `react-devtools` via `yarn start` in `packages/react-devtools` to validate that it is still works with React Native. --- packages/react-devtools/index.js | 14 -------------- packages/react-devtools/package.json | 1 - 2 files changed, 15 deletions(-) delete mode 100644 packages/react-devtools/index.js diff --git a/packages/react-devtools/index.js b/packages/react-devtools/index.js deleted file mode 100644 index 51b0106383a22..0000000000000 --- a/packages/react-devtools/index.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @flow - */ - -const {connectToDevTools} = require('react-devtools-core/backend'); - -// Connect immediately with default options. -// If you need more control, use `react-devtools-core` directly instead of `react-devtools`. -connectToDevTools(); diff --git a/packages/react-devtools/package.json b/packages/react-devtools/package.json index d2a9ec661443e..c9db18aca46a1 100644 --- a/packages/react-devtools/package.json +++ b/packages/react-devtools/package.json @@ -15,7 +15,6 @@ "bin.js", "app.html", "app.js", - "index.js", "icons", "preload.js" ],