X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=7eed7d0cd5b1d604be4c0f285d0bfa9f7fb1b87e;hb=9a207a71b23574853275366857181d21b96a6920;hp=c84b179cfe01cc2740a39dd61484067db1065db2;hpb=8704acf49efc770d73bf07c10468ed8c74d28a83;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index c84b179cf..7eed7d0cd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,14 +14,18 @@ "es2016", "es2017" ], - "types": [ - "node", - "chai-xml", - "chai-json-schema" - ] + "typeRoots": [ + "node_modules/sitemap/node_modules/@types", + "node_modules/@types" + ], + "baseUrl": "./", + "paths": { + "@server/*": [ "server/*" ], + "@shared/*": [ "shared/*" ] + } }, "exclude": [ - "client/node_modules", + "server/tools/", "node_modules", "dist", "storage",