Vencord/tsconfig.json

43 lines
1.2 KiB
JSON
Raw Normal View History

2022-08-28 20:25:27 -04:00
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"lib": [
"DOM",
"DOM.Iterable",
"esnext",
"esnext.array",
"esnext.asynciterable",
"esnext.symbol"
],
2022-08-28 20:25:27 -04:00
"module": "commonjs",
"moduleResolution": "node",
"strict": true,
"noImplicitAny": false,
2022-08-29 14:27:47 -04:00
"target": "ESNEXT",
"jsx": "preserve",
"baseUrl": "./src/",
"paths": {
"@api/*": ["./api/*"],
"@components/*": ["./components/*"],
"@utils/*": ["./utils/*"],
"@webpack/types": ["./webpack/common/types"],
"@webpack/common": ["./webpack/common"],
"@webpack": ["./webpack/webpack"]
2023-04-19 17:08:07 -04:00
},
"plugins": [
// Transform paths in output .js files
{ "transform": "typescript-transform-paths" },
// Transform paths in output .d.ts files (Include this line if you output declarations files)
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
]
2022-08-28 20:25:27 -04:00
},
2022-08-29 14:27:47 -04:00
"include": ["src/**/*"]
2022-08-28 20:25:27 -04:00
}