mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 23:40:07 +00:00
* build(rest-passthrough): Use typescript to build It doesn't make a lot of sense for something like this to use SWC to build + this needed typescript with a tsconfig anyway for a typecheck * Add tsconfig * Remove .swcrc and copy tsconfig in docker --------- Co-authored-by: Awesome Stickz <awesome@stickz.dev>
20 lines
497 B
JSON
20 lines
497 B
JSON
{
|
|
// Visit https://aka.ms/tsconfig to read more about this file
|
|
"compilerOptions": {
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
"module": "node20",
|
|
"target": "es2020",
|
|
"lib": ["ES2020"],
|
|
"types": ["node"],
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"strict": true,
|
|
"verbatimModuleSyntax": true,
|
|
"isolatedModules": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"moduleDetection": "force",
|
|
"skipLibCheck": true
|
|
}
|
|
}
|