Skip to content

Commit

Permalink
Add improved exports field to package (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkoops authored Sep 15, 2023
1 parent a47295f commit ed9008e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
"name": "flat",
"version": "6.0.0",
"type": "module",
"main": "index.js",
"exports": "./index.js",
"types": "./index.d.ts",
"bin": "cli.js",
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./index.js"
}
}
},
"files": [
"cli.js",
"index.js",
Expand Down

0 comments on commit ed9008e

Please sign in to comment.