X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=cb7937f9967cddab3c16f574db8488f0d28cbc6b;hb=c7c6afc66d7611d4c02572d63801beca26c45204;hp=ada13dc9871bdd9b08794770bb06b6ccd9c6c11c;hpb=41fb13c330de629df2d23379209e79c7af0f2e9a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index ada13dc98..cb7937f99 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,46 +1,21 @@ { + "extends": "./tsconfig.base.json", "compilerOptions": { - "module": "commonjs", - "target": "es2015", - "noImplicitAny": false, - "sourceMap": false, - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "importHelpers": true, - "removeComments": true, - "strictBindCallApply": true, - "esModuleInterop": 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": [ + "server/typings", + "node_modules/@types" + ] }, - "exclude": [ - "server/tools/", - "node_modules", - "dist", - "storage", - "client", - "test1", - "test2", - "test3", - "test4", - "test5", - "test6" - ] + "references": [ + { "path": "./shared" }, + { "path": "./server" }, + { "path": "./scripts" } + ], + "files": ["server.ts"] }