Skip to content

Commit

Permalink
build(exports)!: add subpaths "." and "./package.json"
Browse files Browse the repository at this point in the history
- https://nodejs.org/api/packages.html#subpath-exports

Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Jan 2, 2023
1 parent 99ce5e0 commit 2f5dad0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"files": [
"dist"
],
"exports": {
".": "./dist/index.d.mts",
"./package.json": "./package.json"
},
"types": "./dist/index.d.mts",
"scripts": {
"build": "mkbuild",
Expand Down

0 comments on commit 2f5dad0

Please sign in to comment.