Skip to content

Commit

Permalink
Add exports section to package.json
Browse files Browse the repository at this point in the history
To list allowed deep exports
  • Loading branch information
e1himself committed Dec 28, 2021
1 parent 7cb43e4 commit 6fcb182
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
"license": "MIT",
"main": "build/index.js",
"types": "build/index.d.ts",
"exports": {
".": {
"types": "./build/index.d.ts",
"default": "./build/index.js"
},
"./styles.css": "./build/styles/styles.css"
},
"files": [
"build",
"src"
Expand Down

0 comments on commit 6fcb182

Please sign in to comment.