Skip to content

Commit 4d4f959

Browse files
authored
added "browser" conditional to "exports" in package.json (#6881)
1 parent 2484ace commit 4d4f959

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
"exports": {
2323
"./package.json": "./package.json",
2424
".": {
25+
"browser": {
26+
"import": "./index.mjs",
27+
"require": "./index.js"
28+
},
2529
"node": {
2630
"import": "./ssr.mjs",
2731
"require": "./ssr.js"

0 commit comments

Comments
 (0)