From ce7c2a903056c7ce7d7cbfe404e332a8501784aa Mon Sep 17 00:00:00 2001 From: Christoph Nakazawa Date: Thu, 25 Jun 2020 11:43:11 +0100 Subject: [PATCH] Fix react-runtime `main` field 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 19f6e8d5e79..226da5ee9cd 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",