X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.json;h=7eed7d0cd5b1d604be4c0f285d0bfa9f7fb1b87e;hb=56e6e40e0aad1b96352efcc3e6b3c88f554ad7b5;hp=4e6816430acee26401dea8b8172e3e292b219da4;hpb=94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index 4e6816430..7eed7d0cd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "sourceMap": false, "experimentalDecorators": true, "emitDecoratorMetadata": true, + "removeComments": true, "outDir": "./dist", "lib": [ "dom", @@ -13,18 +14,27 @@ "es2016", "es2017" ], - "types": [ - "node" - ] + "typeRoots": [ + "node_modules/sitemap/node_modules/@types", + "node_modules/@types" + ], + "baseUrl": "./", + "paths": { + "@server/*": [ "server/*" ], + "@shared/*": [ "shared/*" ] + } }, "exclude": [ + "server/tools/", "node_modules", + "dist", + "storage", "client", - "text1", - "text2", - "text3", - "text4", - "text5", - "text6" + "test1", + "test2", + "test3", + "test4", + "test5", + "test6" ] }