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.
Ruslan Lesiutin committed
Aug 5, 2024 at 07:53 UTC
6750423ca4b9371363fbad1a2be2de84a8e94054
2 files changed
-15
packages/react-devtools/index.js
deleted
-14
@@ -1,14 +0,0 @@
1
-/**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @flow
8
- */
9
-
10
-const {connectToDevTools} = require('react-devtools-core/backend');
11
-
12
-// Connect immediately with default options.
13
-// If you need more control, use `react-devtools-core` directly instead of `react-devtools`.
14
-connectToDevTools();
packages/react-devtools/package.json
-1
@@ -15,7 +15,6 @@
15
"bin.js",
16
"app.html",
17
"app.js",
18
- "index.js",
18
"icons",
19
"preload.js"
20
],