fix: use source field in package.json exports instead of array

This commit is contained in:
Mohamed Boudra
2026-04-06 08:35:04 +07:00
parent 93b2199c56
commit dc772021a8
2 changed files with 6 additions and 12 deletions
+2 -4
View File
@@ -10,10 +10,8 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": [
"./dist/index.js",
"./src/index.ts"
]
"source": "./src/index.ts",
"default": "./dist/index.js"
}
},
"files": [
+4 -8
View File
@@ -18,17 +18,13 @@
"exports": {
".": {
"types": "./dist/server/server/exports.d.ts",
"default": [
"./dist/server/server/exports.js",
"./src/server/exports.ts"
]
"source": "./src/server/exports.ts",
"default": "./dist/server/server/exports.js"
},
"./utils/tool-call-parsers": {
"types": "./dist/server/utils/tool-call-parsers.d.ts",
"default": [
"./dist/server/utils/tool-call-parsers.js",
"./src/utils/tool-call-parsers.ts"
]
"source": "./src/utils/tool-call-parsers.ts",
"default": "./dist/server/utils/tool-call-parsers.js"
}
},
"scripts": {