X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=8bcd944e3cb50472021196e6b6e178947031871c;hb=d5b0313c0c6f1cb2ce1510f0317f8fbdef663145;hp=4e6816430acee26401dea8b8172e3e292b219da4;hpb=94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index 4e6816430..8bcd944e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,30 +1,20 @@ { + "extends": "./tsconfig.base.json", "compilerOptions": { - "module": "commonjs", - "target": "es2015", - "noImplicitAny": false, - "sourceMap": false, - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "outDir": "./dist", - "lib": [ - "dom", - "es2015", - "es2016", - "es2017" - ], - "types": [ - "node" + "outDir": "./dist/", + "baseUrl": "./", + "paths": { + "@server/*": [ "server/*" ], + "@shared/*": [ "shared/*" ] + }, + "typeRoots": [ + "node_modules/@types" ] }, - "exclude": [ - "node_modules", - "client", - "text1", - "text2", - "text3", - "text4", - "text5", - "text6" - ] + "references": [ + { "path": "./shared" }, + { "path": "./server" }, + { "path": "./scripts" } + ], + "files": [ "server.ts", "server/types/express.d.ts", "server/types/lib.d.ts" ] }