X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=993acf81d43f03ad3efd868f2c47aacd1f7dc14d;hb=b3a55bfaa813de4802f857cf7d1ac06b27d9aeb1;hp=4d2bdd6baf4f2df9168ef9888b689fdea362af8b;hpb=a41b9da1a9ce49df82ea10c82de4c2fbc6d1b189;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index 4d2bdd6ba..993acf81d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,33 +1,21 @@ { + "extends": "./tsconfig.base.json", "compilerOptions": { - "module": "commonjs", - "target": "es2015", - "noImplicitAny": false, - "sourceMap": false, - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "removeComments": true, - "outDir": "./dist", - "lib": [ - "dom", - "es2015", - "es2016", - "es2017" - ], - "typeRoots": [ "node_modules/@types", "server/typings" ] + "outDir": "./dist/", + "baseUrl": "./", + "paths": { + "@server/*": [ "server/*" ], + "@shared/*": [ "shared/*" ] + }, + "typeRoots": [ + "server/typings", + "node_modules/@types" + ] }, - "exclude": [ - "server/tools/", - "client/node_modules", - "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" ] }