X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=8bcd944e3cb50472021196e6b6e178947031871c;hb=ed14d1ebd7c8d9428ac58b3a6280e3df6686aec1;hp=03988123061ca40930f983372bc293b10f6656b5;hpb=65fcc3119c334b75dd13bcfdebf186afdc580a8f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index 039881230..8bcd944e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,19 +1,20 @@ { + "extends": "./tsconfig.base.json", "compilerOptions": { - "module": "commonjs", - "target": "es5", - "noImplicitAny": false, - "sourceMap": false, - "outDir": "./dist", - "lib": [ - "es2015" - ], - "types": [ - "node" + "outDir": "./dist/", + "baseUrl": "./", + "paths": { + "@server/*": [ "server/*" ], + "@shared/*": [ "shared/*" ] + }, + "typeRoots": [ + "node_modules/@types" ] }, - "exclude": [ - "node_modules", - "client" - ] + "references": [ + { "path": "./shared" }, + { "path": "./server" }, + { "path": "./scripts" } + ], + "files": [ "server.ts", "server/types/express.d.ts", "server/types/lib.d.ts" ] }