Files
devclaw-gitea/tsconfig.json
Lauren ten Hoor 9739a14910 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>
2026-02-12 20:47:25 +08:00

18 lines
370 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"outDir": "./dist",
"rootDir": ".",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"strict": false,
"skipLibCheck": true,
"types": ["node"]
},
"include": ["./**/*.ts"],
"exclude": ["node_modules", "dist"]
}