fix: update TypeScript config for proper openclaw plugin-sdk type resolution
Changed module resolution from Node16 to Bundler (with ESNext module) to properly resolve openclaw/plugin-sdk type exports. This fixes build errors where OpenClawPluginApi and jsonResult types were not being found. The Node16 module resolution was not following the re-exports in openclaw's plugin-sdk index.d.ts correctly. Bundler resolution is more compatible with modern package.json exports. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"module": "Node16",
|
"module": "ESNext",
|
||||||
"moduleResolution": "Node16",
|
"moduleResolution": "Bundler",
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"rootDir": ".",
|
"rootDir": ".",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user