fix: add types condition to plugin-sdk export for moduleResolution NodeNext (#14485)

Co-authored-by: 0xRaini <0xRaini@users.noreply.github.com>
This commit is contained in:
0xRain 2026-02-12 16:31:48 +08:00 committed by GitHub
parent 5c32989f53
commit d8016c30cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,10 @@
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./plugin-sdk": "./dist/plugin-sdk/index.js",
"./plugin-sdk": {
"types": "./dist/plugin-sdk/index.d.ts",
"default": "./dist/plugin-sdk/index.js"
},
"./cli-entry": "./openclaw.mjs"
},
"scripts": {