Skip to content

Commit

Permalink
feat: add subpath exports (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain authored May 27, 2022
1 parent 3581984 commit 998fa79
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@
"exports": {
".": {
"import": "./dist/src/index.js"
},
"./metrics": {
"import": "./dist/src/metrics.js"
},
"./message": {
"import": "./dist/src/message/index.js"
},
"./score": {
"import": "./dist/src/score/index.js"
},
"./types": {
"import": "./dist/src/types.js"
}
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/message/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './rpc.js'

0 comments on commit 998fa79

Please sign in to comment.