X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=tsconfig.json;h=cb7937f9967cddab3c16f574db8488f0d28cbc6b;hb=9e2789aa4bcd582d6e7746e2f6ece0fd25a3240a;hp=be910b309a00ed306741804874042e7f466452e0;hpb=0e1dc3e7c69995c691e1dd82e3c2bc68748661ca;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.json b/tsconfig.json index be910b309..cb7937f99 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,20 +1,21 @@ { + "extends": "./tsconfig.base.json", "compilerOptions": { - "module": "commonjs", - "target": "es5", - "noImplicitAny": false, - "sourceMap": false, - "outDir": "./dist", - "lib": [ - "dom", - "es2015" - ], - "types": [ - "node" + "outDir": "./dist/", + "baseUrl": "./", + "paths": { + "@server/*": [ "server/*" ], + "@shared/*": [ "shared/*" ] + }, + "typeRoots": [ + "server/typings", + "node_modules/@types" ] }, - "exclude": [ - "node_modules", - "client" - ] + "references": [ + { "path": "./shared" }, + { "path": "./server" }, + { "path": "./scripts" } + ], + "files": ["server.ts"] }