Skip to content

Commit

Permalink
Add exports field to package.json (#322)
Browse files Browse the repository at this point in the history
types field must come first
  • Loading branch information
perrin4869 committed May 25, 2022
1 parent 690d996 commit d4291cb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package.json
Expand Up @@ -24,6 +24,15 @@
"module": "bignumber.mjs",
"browser": "bignumber.js",
"types": "bignumber.d.ts",
"exports": {
".": {
"types": "./bignumber.d.ts",
"require": "./bignumber.js",
"import": "./bignumber.mjs",
"browser": "./bignumber.js"
},
"./package.json": "./package.json"
},
"author": {
"name": "Michael Mclaughlin",
"email": "M8ch88l@gmail.com"
Expand Down

0 comments on commit d4291cb

Please sign in to comment.