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>
18 lines
370 B
JSON
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"]
|
|
}
|