Files
sonr/packages/es/tsconfig.json
Prad NukalaandGitHub 13e6c3e84d Master (#1262)
* clear

* feat: Add everything

* fix: Commenht
2025-10-03 14:45:52 -04:00

49 lines
1.3 KiB
JSON

{
"compilerOptions": {
"lib": ["ES2022", "DOM"],
"target": "ES2022",
"module": "ES2022",
"baseUrl": ".",
"paths": {
"@sonr.io/es/*": ["./src/*"]
},
"outDir": "./dist",
"rootDir": "./src",
// `node16` is too strict and causes type errors for imported pkgs.
// We use `tsc-alias` to help add the file extensions instead.
"moduleResolution": "bundler",
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"esModuleInterop": true,
"skipLibCheck": true,
// Relaxed type checking to allow build with existing issues
"strict": false,
"noImplicitAny": false,
"noFallthroughCasesInSwitch": false,
"strictNullChecks": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": false,
"allowUnreachableCode": true,
"allowUnusedLabels": true,
"noUncheckedIndexedAccess": false,
"declaration": true,
"declarationMap": true,
"sourceMap": true
},
"include": ["src"],
"exclude": ["dist", "node_modules", "**/*.test.ts", "**/__tests__/**"],
"tsc-alias": {
// Add file extensions to imports/exports for ESM compatibility.
"resolveFullPaths": true,
// See: https://github.com/justkey007/tsc-alias/discussions/110.
"replacers": {
"base-url": {
"enabled": false
}
}
}
}