From e13f9901eede5399b78f489b6dc864b21a1bacf5 Mon Sep 17 00:00:00 2001 From: Bill Friedrich Date: Mon, 25 Oct 2021 11:12:58 -0400 Subject: [PATCH] added "browser" conditional to "exports" in package.json --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 60ee4f179d..7689a5f4ce 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"