mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 09:01:14 +00:00
Add ./hooks subpath export for cleaner imports
This commit is contained in:
parent
7c553acd1e
commit
1abc635044
4 changed files with 18 additions and 11 deletions
|
|
@ -12,6 +12,16 @@
|
|||
},
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.js"
|
||||
},
|
||||
"./hooks": {
|
||||
"types": "./dist/core/hooks/index.d.ts",
|
||||
"import": "./dist/core/hooks/index.js"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"docs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue