fix: update package exports to include types
This commit is contained in:
parent
62ec7db738
commit
aae4acd6a7
16
package.json
16
package.json
|
@ -5,10 +5,18 @@
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./lib/index.js",
|
".": {
|
||||||
"./kernel": "./lib/kernel/index.js",
|
"import": "./lib/index.js",
|
||||||
"./module": "./lib/module/index.js",
|
"types": "./lib/index.d.ts"
|
||||||
"./package.json": "./package.json"
|
},
|
||||||
|
"./kernel": {
|
||||||
|
"import": "./lib/kernel/index.js",
|
||||||
|
"types": "./lib/kernel/index.d.ts"
|
||||||
|
},
|
||||||
|
"./module": {
|
||||||
|
"import": "./lib/module/index.js",
|
||||||
|
"types": "./lib/module/index.d.ts"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue