From 4d4f959f1643f45702c71c01dff13f43f64fef77 Mon Sep 17 00:00:00 2001 From: bf-software <42466550+bf-software@users.noreply.github.com> Date: Thu, 4 Nov 2021 11:12:55 -0400 Subject: [PATCH] added "browser" conditional to "exports" in package.json (#6881) --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 33ac615589..5ddceacbce 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,10 @@ "exports": { "./package.json": "./package.json", ".": { + "browser": { + "import": "./index.mjs", + "require": "./index.js" + }, "node": { "import": "./ssr.mjs", "require": "./ssr.js"