X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=8bcd944e3cb50472021196e6b6e178947031871c;hb=76ad705ecb08270c01b4759413a5dadc4ed4433e;hp=aa129c1d9e332c92e0c3dfab0df676a71764f757;hpb=c24aac6bc73033195c37d81cf2b7449c9b54712c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index aa129c1d9..8bcd944e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,45 +1,20 @@ { + "extends": "./tsconfig.base.json", "compilerOptions": { - "module": "commonjs", - "target": "es2015", - "noImplicitAny": false, - "sourceMap": false, - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "importHelpers": true, - "removeComments": true, - "outDir": "./dist", - "lib": [ - "dom", - "es2015", - "es2016", - "es2017", - "es2018", - "es2019" - ], - "typeRoots": [ - "node_modules/sitemap/node_modules/@types", - "node_modules/@types", - "server/typings" - ], + "outDir": "./dist/", "baseUrl": "./", "paths": { "@server/*": [ "server/*" ], "@shared/*": [ "shared/*" ] - } + }, + "typeRoots": [ + "node_modules/@types" + ] }, - "include": [ "." ], - "exclude": [ - "server/tools/", - "node_modules", - "dist", - "storage", - "client", - "test1", - "test2", - "test3", - "test4", - "test5", - "test6" - ] + "references": [ + { "path": "./shared" }, + { "path": "./server" }, + { "path": "./scripts" } + ], + "files": [ "server.ts", "server/types/express.d.ts", "server/types/lib.d.ts" ] }