Skip to content

Commit

Permalink
fix: browser export mapping
Browse files Browse the repository at this point in the history
this is to make sure nothing breaks when compilers support export maps
  • Loading branch information
mikeal committed Jun 23, 2020
1 parent af325b8 commit cb71597
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
},
"./hashes/sha2.js": {
"import": "./hashes/sha2.js",
"require": "./dist/hashes/sha2.cjs"
"require": "./dist/hashes/sha2.cjs",
"browser": "./hashes/sha2-browser.js"
},
"./codecs/json.js": {
"import": "./codecs/json.js.js",
Expand Down

0 comments on commit cb71597

Please sign in to comment.