Files
open-agent-sdk/tsconfig.json
T
idoubiandClaude Opus 4.6 afa1fe1e8f fix: convert all src/ path aliases to relative imports
tsc does not transform path aliases in output, causing dist/ files to
retain `from 'src/...'` imports. When tsx resolves these to source files,
duplicate module instances are created - enableConfigs() runs on the
dist instance but not the src instance, triggering "Config accessed
before allowed" errors at runtime.

Converted 1084 imports across 321 files to relative paths and removed
the now-unnecessary paths config from tsconfig.json. Bumped to v0.1.2.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 23:14:42 +08:00

30 lines
788 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ES2023", "DOM"],
"outDir": "./dist",
"rootDir": "./src",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"strict": false,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitAny": false,
"noImplicitReturns": false,
"noFallthroughCasesInSwitch": false,
"allowJs": true,
"jsx": "react-jsx",
"baseUrl": "."
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "vendor", "**/*.test.ts", "**/*.spec.ts"]
}