Files
srjuggernaut-panda-preset/tsconfig.json

45 lines
1.0 KiB
JSON

{
"include": ["./src/**/*.ts"],
"compilerOptions": {
// Environment setup & latest features
"lib": ["esnext"],
"target": "es2024",
"module": "ESNext",
"moduleDetection": "auto",
"allowJs": false,
// Bundler mode
"outDir": "./dist/",
"rootDir": "./src",
"moduleResolution": "bundler",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false,
//Paths
"baseUrl": "./",
"paths": {
"@/*": ["./src/*"]
},
//plugins
"plugins": [
{ "transform": "typescript-transform-paths" },
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
}
}