Skip to content

Commit

Permalink
fix: browser needs to be the first export in file (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Jul 20, 2021
1 parent f554ca2 commit fb3180c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"main": "./dist/src/lib.node.cjs",
"exports": {
".": {
"browser": "./src/lib.js",
"require": "./dist/src/lib.node.cjs",
"node": "./src/lib.node.js",
"browser": "./src/lib.js"
"node": "./src/lib.node.js"
}
},
"types": "./dist/src/lib.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
},
"exports": {
".": {
"browser": "./src/lib.js",
"require": "./dist/src/lib.node.cjs",
"node": "./src/lib.node.js",
"browser": "./src/lib.js"
"node": "./src/lib.node.js"
}
},
"types": "./dist/src/lib.d.ts",
Expand Down

0 comments on commit fb3180c

Please sign in to comment.