Skip to content

Commit

Permalink
[pkg] Add package.json export
Browse files Browse the repository at this point in the history
Fixes #2091
  • Loading branch information
lpinca committed Oct 24, 2022
1 parent c4d6eb3 commit 211d5d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
"license": "MIT",
"main": "index.js",
"exports": {
"import": "./wrapper.mjs",
"require": "./index.js"
".": {
"import": "./wrapper.mjs",
"require": "./index.js"
},
"./package.json": "./package.json"
},
"browser": "browser.js",
"engines": {
Expand Down

0 comments on commit 211d5d3

Please sign in to comment.