ModularVencord/tsconfig.json
2024-06-15 15:45:14 -04:00

48 lines
1.3 KiB
JSON

{
"include": ["browser", "src"],
"compilerOptions": {
"noUncheckedIndexedAccess": true,
"strict": true,
"baseUrl": "./src/",
"module": "ESNext",
"moduleResolution": "Bundler",
"paths": {
"@api": ["./api"],
"@api/*": ["./api/*"],
"@components": ["./components"],
"@components/*": ["./components/*"],
"@main": ["./main"],
"@main/*": ["./main/*"],
"@shared/*": ["./shared/*"],
"@utils": ["./utils"],
"@utils/*": ["./utils/*"],
"@webpack": ["./webpack/webpack"],
"@webpack/types": ["./webpack/common/types"],
"@webpack/common": ["./webpack/common"]
},
"resolveJsonModule": true,
"noEmit": true,
"plugins": [
// Transform paths in output .d.ts files (Include this line if you output declarations files)
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"lib": [
"DOM",
"DOM.Iterable",
"ESNext"
],
"target": "ESNext"
}
}