Skip to content

Commit 2f5dad0

Browse files
committed
build(exports)!: add subpaths "." and "./package.json"
- https://nodejs.org/api/packages.html#subpath-exports Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 99ce5e0 commit 2f5dad0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
"files": [
2828
"dist"
2929
],
30+
"exports": {
31+
".": "./dist/index.d.mts",
32+
"./package.json": "./package.json"
33+
},
3034
"types": "./dist/index.d.mts",
3135
"scripts": {
3236
"build": "mkbuild",

0 commit comments

Comments
 (0)