Skip to content

Commit

Permalink
add an exports "browser" entry
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored and ctavan committed Jun 18, 2020
1 parent 0f6c436 commit af3aadc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
"sideEffects": false,
"main": "./dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"browser": "./dist/esm-browser/index.js",
"require": "./dist/index.js",
"import": "./wrapper.mjs"
}
},
"./package.json": "./package.json"
},
"module": "./dist/esm-node/index.js",
"browser": {
Expand Down

0 comments on commit af3aadc

Please sign in to comment.