From 7d0e4150aa939ea843ab22bece1a415cbf2416cf Mon Sep 17 00:00:00 2001 From: Christoph Nakazawa Date: Thu, 25 Jun 2020 17:17:42 +0100 Subject: [PATCH] Fix react-runtime `main` field (#19193) The "main" field in this package points to a non-existent file. This fixes it. --- packages/react-refresh/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-refresh/package.json b/packages/react-refresh/package.json index 19f6e8d5e7..226da5ee9c 100644 --- a/packages/react-refresh/package.json +++ b/packages/react-refresh/package.json @@ -17,7 +17,7 @@ "cjs/", "umd/" ], - "main": "index.js", + "main": "runtime.js", "repository": { "type": "git", "url": "https://github.com/facebook/react.git",