X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=993acf81d43f03ad3efd868f2c47aacd1f7dc14d;hb=cef2306a1e4410bd7f48e749614be864aa003c3b;hp=71674e165cb8856ce6dcb9f06d3cffc43352b841;hpb=3fd3ab2d34d512b160a5e6084d7609be7b4f4452;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index 71674e165..993acf81d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,24 +1,21 @@ { + "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": [ + "server/typings", + "node_modules/@types" ] }, - "exclude": [ - "node_modules", - "client" - ] + "references": [ + { "path": "./shared" }, + { "path": "./server" }, + { "path": "./scripts" } + ], + "files": [ "server.ts", "server/types/express.d.ts" ] }