From 5797cc234cc06c8231bf5dcab7b5e8356642df9d Mon Sep 17 00:00:00 2001 From: Xun Sun Date: Fri, 16 Aug 2024 12:51:32 +0800 Subject: [PATCH] Add a field `browser` to `package.json` root --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 55e75c1a82..b63b14ae29 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ }, "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js", + "browser": "./dist/browser/index.js", "types": "./dist/commonjs/index.d.ts", "files": [ "dist",