Skip to content

Commit

Permalink
fix: add root-level "browser" export (#421)
Browse files Browse the repository at this point in the history
Co-authored-by: Artem Zakharchenko <[email protected]>
  • Loading branch information
blaenk and kettanaito authored Nov 16, 2023
1 parent d203c26 commit 4300ed7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"exports": {
".": {
"types": "./lib/node/index.d.ts",
"browser": {
"types": "./lib/browser/index.d.ts",
"require": "./lib/browser/index.js",
"import": "./lib/browser/index.mjs",
"default": "./lib/browser/index.js"
},
"require": "./lib/node/index.js",
"import": "./lib/node/index.mjs",
"default": "./lib/node/index.js"
Expand Down Expand Up @@ -166,4 +172,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}

0 comments on commit 4300ed7

Please sign in to comment.