ModularVencord/tsconfig.json

52 lines
1.4 KiB
JSON
Raw Normal View History

2022-08-29 00:25:27 +00:00
{
2024-06-15 19:45:14 +00:00
"include": ["browser", "src"],
2022-08-29 00:25:27 +00:00
"compilerOptions": {
2024-06-15 19:45:14 +00:00
"noUncheckedIndexedAccess": true,
2022-08-29 00:25:27 +00:00
"strict": true,
"baseUrl": "./src/",
2024-06-15 19:45:14 +00:00
"module": "ESNext",
"moduleResolution": "Bundler",
"paths": {
2024-06-15 19:45:14 +00:00
"@api": ["./api"],
"@api/*": ["./api/*"],
2024-06-15 19:45:14 +00:00
"@components": ["./components"],
"@components/*": ["./components/*"],
2024-06-15 19:45:14 +00:00
"@main": ["./main"],
"@main/*": ["./main/*"],
"@shared/*": ["./shared/*"],
2024-06-15 19:45:14 +00:00
"@utils": ["./utils"],
"@utils/*": ["./utils/*"],
"@webpack": ["./webpack/webpack"],
"@webpack/types": ["./webpack/common/types"],
2024-06-15 19:45:14 +00:00
"@webpack/common": ["./webpack/common"]
},
2024-06-15 19:45:14 +00:00
"resolveJsonModule": true,
2024-07-07 00:22:28 +00:00
"emitDeclarationOnly": true,
"outDir": "dist",
"plugins": [
// Transform paths in output .d.ts files (Include this line if you output declarations files)
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
2024-06-15 19:45:14 +00:00
],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"lib": [
"DOM",
"DOM.Iterable",
"ESNext"
],
2024-07-07 00:22:28 +00:00
"target": "ESNext",
"composite": true
2024-06-15 19:45:14 +00:00
}
2022-08-29 00:25:27 +00:00
}